From 5757fb59a11e4a53dcabe71f0fadc9c221fb5af6 Mon Sep 17 00:00:00 2001 From: Zhi Chen <62574124+zhichen3@users.noreply.github.com> Date: Mon, 18 Dec 2023 17:00:37 -0800 Subject: [PATCH] make sure const T evolution (#1408) make sure const temperature evolution when call_eos_in_rhs=false this makes sure we don't update the T in this case after the burn --- integration/VODE/actual_integrator.H | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/integration/VODE/actual_integrator.H b/integration/VODE/actual_integrator.H index 35fa40c950..4448bf2a7a 100644 --- a/integration/VODE/actual_integrator.H +++ b/integration/VODE/actual_integrator.H @@ -100,8 +100,9 @@ void actual_integrator (BurnT& state, Real dt) // need to sync the auxiliary data up with the new mass fractions set_aux_comp_from_X(state); #endif - - eos(eos_input_re, state); + if (call_eos_in_rhs) { + eos(eos_input_re, state); + } #endif