Skip to content

Commit

Permalink
display state.xn in scientific notation
Browse files Browse the repository at this point in the history
  • Loading branch information
psharda authored Aug 26, 2024
1 parent 8ce3375 commit e89f5f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/integrator_setup_strang.H
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ void integrator_cleanup (IntegratorT& int_state, BurnT& state,
std::cout << "temp start = " << std::setprecision(16) << state_save.T_in << std::endl;
std::cout << "xn start = ";
for (const double X : state_save.xn_in) {
std::cout << std::setprecision(16) << X << " ";
std::cout << std::scientific << std::setprecision(16) << X << " ";
}
std::cout << std::endl;
std::cout << "dens current = " << std::setprecision(16) << state.rho << std::endl;
Expand Down

0 comments on commit e89f5f1

Please sign in to comment.