From e89f5f16effd4c9113157573ffa185227b014f4e Mon Sep 17 00:00:00 2001 From: Piyush Sharda <34922596+psharda@users.noreply.github.com> Date: Mon, 26 Aug 2024 11:14:14 +0200 Subject: [PATCH] display state.xn in scientific notation --- integration/integrator_setup_strang.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/integrator_setup_strang.H b/integration/integrator_setup_strang.H index 32ec74342..bd478aa67 100644 --- a/integration/integrator_setup_strang.H +++ b/integration/integrator_setup_strang.H @@ -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;