Skip to content

Commit

Permalink
Fix preprocess flags for moist relax in slow post.
Browse files Browse the repository at this point in the history
  • Loading branch information
AMLattanzi committed Jul 12, 2023
1 parent 3123845 commit d4b5558
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/TimeIntegration/ERF_slow_rhs_post.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void erf_slow_rhs_post (int /*level*/,
std::unique_ptr<MultiFab>& mapfac_m,
std::unique_ptr<MultiFab>& mapfac_u,
std::unique_ptr<MultiFab>& mapfac_v,
#if defined(ERF_USE_MOISTURE) || defined(ERF_USE_WARM_NO_PRECIP)
#if defined(ERF_USE_NETCDF) && (defined(ERF_USE_MOISTURE) || defined(ERF_USE_WARM_NO_PRECIP))
const bool& moist_relax,
const Real& bdy_time_interval,
const Real& start_bdy_time,
Expand Down Expand Up @@ -343,7 +343,7 @@ void erf_slow_rhs_post (int /*level*/,
new_cons, cell_rhs, mf_u, mf_v, false, false);
}
}
#if defined(ERF_USE_MOISTURE) || defined(ERF_USE_WARM_NO_PRECIP)
#if defined(ERF_USE_NETCDF) && (defined(ERF_USE_MOISTURE) || defined(ERF_USE_WARM_NO_PRECIP))
// Populate RHS for moisture relaxation
if (moist_relax) {
wrfbdy_compute_moist_interior_ghost_RHS(tbx, bdy_time_interval, start_bdy_time, new_stage_time, dt,
Expand Down

0 comments on commit d4b5558

Please sign in to comment.