Skip to content

Commit

Permalink
more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichen3 committed Jan 10, 2024
1 parent 983f0e4 commit 1916de3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/reactions/Castro_react.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ Castro::react_state(MultiFab& s, MultiFab& r, Real time, Real dt, const int stra

// update the state
#ifdef NSE_NET
U(i,j,k,UMUP) = burn_state.mu_p;
U(i,j,k,UMUN) = burn_state.mu_n;
U(i,j,k,UMUP) = burn_state.mu_p;
U(i,j,k,UMUN) = burn_state.mu_n;
#endif
for (int n = 0; n < NumSpec; ++n) {
U(i,j,k,UFS+n) = U(i,j,k,URHO) * burn_state.xn[n];
Expand Down Expand Up @@ -692,8 +692,8 @@ Castro::react_state(Real time, Real dt)

// update the state data.
#ifdef NSE_NET
U_new(i,j,k,UMUP) = burn_state.mu_p;
U_new(i,j,k,UMUN) = burn_state.mu_n;
U_new(i,j,k,UMUP) = burn_state.mu_p;
U_new(i,j,k,UMUN) = burn_state.mu_n;
#endif
U_new(i,j,k,UEDEN) = burn_state.y[SEDEN];
U_new(i,j,k,UEINT) = burn_state.y[SEINT];
Expand Down

0 comments on commit 1916de3

Please sign in to comment.