Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichen3 committed Nov 26, 2024
1 parent 31ba3d5 commit 886e09a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/hydro/trans.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,13 @@ Castro::actual_trans_single(const Box& bx, // NOLINT(readability-convert-member
for (int n = 0; n < NumSpec; n++) {
eos_state.xn[n] = qo_arr(i,j,k,QFS+n);
}
#ifdef NAUX_NET > 0
for (int n = 0; n < NumAux; n++) {
eos_state.aux[n] = qo_arr(QFX+n);
}
#endif
eos(eos_input_re, eos_state);

Real pnewn = eos_state.p;
qo_arr(i,j,k,QPRES) = amrex::max(pnewn, small_p);

Expand Down

0 comments on commit 886e09a

Please sign in to comment.