Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Dec 29, 2023
1 parent ca00655 commit 2ff803f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions massive_star/init_1d.H
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,11 @@ AMREX_INLINE void init_1d() {

eos_state.aux[AuxZero::iye] = ye;

// note: if we are in NSE, then as we adjust density in
// this Newton loop, the composition will change, so
// convergence should mean that the density and
// composition have converged.

set_aux(eos_state);

eos(eos_input_rt, eos_state);
Expand Down Expand Up @@ -577,6 +582,7 @@ AMREX_INLINE void init_1d() {
amrex::Error("Error: HSE non-convergence");
}


if (temp_zone < temp_fluff) {
temp_zone = temp_fluff;
}
Expand Down

0 comments on commit 2ff803f

Please sign in to comment.