Skip to content

Commit

Permalink
make sure const T evolution (#1408)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
zhichen3 authored Dec 19, 2023
1 parent 01577f3 commit 5757fb5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions integration/VODE/actual_integrator.H
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5757fb5

Please sign in to comment.