Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Jul 16, 2024
1 parent d036d25 commit 9d041ba
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions massive_star/init_1d.H
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,7 @@ constexpr Real temp_fluff = 1.e5_rt;
AMREX_INLINE void
set_aux(eos_t& eos_state) {

burn_t burn_state;
burn_state.rho = eos_state.rho;
burn_state.T = eos_state.T;
for (int n = 0; n < NumSpec; ++n) {
burn_state.xn[n] = eos_state.xn[n];
}

bool nse_check = in_nse(burn_state);
bool nse_check = in_nse(eos_state);

if (nse_check) {

Expand Down Expand Up @@ -212,8 +205,6 @@ AMREX_INLINE void init_1d() {

for (int i = 0; i < problem_rp::nx; ++i) {

// we need to fill a burn_t in order to check for NSE

eos_state.rho = model_mesa_hse(i, model::idens);
eos_state.T = model_mesa_hse(i, model::itemp);

Expand Down

0 comments on commit 9d041ba

Please sign in to comment.