Skip to content

Commit

Permalink
explicitly add integrator_rp namespace
Browse files Browse the repository at this point in the history
this prepares for Microphysics PR 1625
  • Loading branch information
zingale committed Jul 20, 2024
1 parent ab2b6d8 commit acb21eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/reactions/Castro_react.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ Castro::react_state(MultiFab& s, MultiFab& r, Real time, Real dt, const int stra

if (store_burn_weights) {

if (jacobian == 1) {
if (integrator_rp::jacobian == 1) {
weights(i,j,k,strang_half) = amrex::max(1.0_rt, static_cast<Real>(burn_state.n_rhs + 2 * burn_state.n_jac));
} else {
// the RHS evals for the numerical differencing in the Jacobian are already accounted for in n_rhs
Expand Down Expand Up @@ -752,7 +752,7 @@ Castro::react_state(Real time, Real dt)

if (store_burn_weights) {

if (jacobian == 1) {
if (integrator_rp::jacobian == 1) {
weights(i,j,k,lsdc_iteration) = amrex::max(1.0_rt, static_cast<Real>(burn_state.n_rhs + 2 * burn_state.n_jac));
} else {
// the RHS evals for the numerical differencing in the Jacobian are already accounted for in n_rhs
Expand Down

0 comments on commit acb21eb

Please sign in to comment.