diff --git a/Source/TimeIntegration/ERF_slow_rhs_inc.cpp b/Source/TimeIntegration/ERF_slow_rhs_inc.cpp index 45a096757..076eef8d9 100644 --- a/Source/TimeIntegration/ERF_slow_rhs_inc.cpp +++ b/Source/TimeIntegration/ERF_slow_rhs_inc.cpp @@ -122,7 +122,6 @@ void erf_slow_rhs_inc (int level, int nrk, const bool l_use_diff = ( (dc.molec_diff_type != MolecDiffType::None) || (tc.les_type != LESType::None) || (tc.pbl_type != PBLType::None) ); - const bool l_use_constAlpha = ( dc.molec_diff_type == MolecDiffType::ConstantAlpha ); const bool l_use_turb = ( tc.les_type == LESType::Smagorinsky || tc.les_type == LESType::Deardorff || tc.pbl_type == PBLType::MYNN25 || diff --git a/Source/TimeIntegration/ERF_slow_rhs_pre.cpp b/Source/TimeIntegration/ERF_slow_rhs_pre.cpp index 952d991a7..9fb3a964c 100644 --- a/Source/TimeIntegration/ERF_slow_rhs_pre.cpp +++ b/Source/TimeIntegration/ERF_slow_rhs_pre.cpp @@ -139,7 +139,6 @@ void erf_slow_rhs_pre (int level, int finest_level, const bool l_use_diff = ( (dc.molec_diff_type != MolecDiffType::None) || (tc.les_type != LESType::None) || (tc.pbl_type != PBLType::None) ); - const bool l_use_constAlpha = ( dc.molec_diff_type == MolecDiffType::ConstantAlpha ); const bool l_use_turb = ( tc.les_type == LESType::Smagorinsky || tc.les_type == LESType::Deardorff || tc.pbl_type == PBLType::MYNN25 || diff --git a/Source/TimeIntegration/TI_slow_headers.H b/Source/TimeIntegration/TI_slow_headers.H index 780d74245..c3d350429 100644 --- a/Source/TimeIntegration/TI_slow_headers.H +++ b/Source/TimeIntegration/TI_slow_headers.H @@ -202,9 +202,9 @@ void erf_slow_rhs_inc (int level, int nrk, std::unique_ptr& az, std::unique_ptr& dJ, const amrex::MultiFab* p0, + const amrex::MultiFab& pp_inc, std::unique_ptr& mapfac_m, std::unique_ptr& mapfac_u, - std::unique_ptr& mapfac_v, - const amrex::MultiFab& pp_inc); + std::unique_ptr& mapfac_v); #endif #endif diff --git a/Source/TimeIntegration/TI_slow_rhs_fun.H b/Source/TimeIntegration/TI_slow_rhs_fun.H index 41c2a5665..23694da64 100644 --- a/Source/TimeIntegration/TI_slow_rhs_fun.H +++ b/Source/TimeIntegration/TI_slow_rhs_fun.H @@ -421,8 +421,8 @@ Tau13_lev[level].get(), Tau21_lev[level].get(), Tau23_lev[level].get(), Tau31_lev[level].get(), Tau32_lev[level].get(), SmnSmn, eddyDiffs, Hfx3, Diss, fine_geom, solverChoice, m_most, domain_bcs_type_d, domain_bcs_type, - z_phys_nd[level], ax[level], ay[level], az[level], detJ_cc[level], p0, - mapfac_m[level], mapfac_u[level], mapfac_v[level], pp_inc[level]); + z_phys_nd[level], ax[level], ay[level], az[level], detJ_cc[level], p0, pp_inc[level], + mapfac_m[level], mapfac_u[level], mapfac_v[level]); add_thin_body_sources(xmom_src, ymom_src, zmom_src, xflux_imask[level], yflux_imask[level], zflux_imask[level],