From 2cbf9a05e7f1202f2fedc8b998477dacb1d14e56 Mon Sep 17 00:00:00 2001 From: Ann Almgren Date: Sat, 3 Aug 2024 15:03:16 -0700 Subject: [PATCH] fix oops from previous commit --- src/convection/incflo_compute_MAC_projected_velocities.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/convection/incflo_compute_MAC_projected_velocities.cpp b/src/convection/incflo_compute_MAC_projected_velocities.cpp index 1fd29192..88025f20 100644 --- a/src/convection/incflo_compute_MAC_projected_velocities.cpp +++ b/src/convection/incflo_compute_MAC_projected_velocities.cpp @@ -162,6 +162,7 @@ incflo::compute_MAC_projected_velocities ( // Predict normal velocity to faces -- note that the {u_mac, v_mac, w_mac} // returned from this call are on face CENTROIDS + bool allow_inflow_on_outflow = false; HydroUtils::ExtrapVelToFaces(*vel[lev], *vel_forces[lev], AMREX_D_DECL(*u_mac[lev], *v_mac[lev], *w_mac[lev]), get_velocity_bcrec(), get_velocity_bcrec_device_ptr(), @@ -171,7 +172,8 @@ incflo::compute_MAC_projected_velocities ( m_eb_flow.enabled ? get_velocity_eb()[lev] : nullptr, #endif m_godunov_ppm, m_godunov_use_forces_in_trans, - l_advection_type, PPM::default_limiter, BC_MF.get()); + l_advection_type, PPM::default_limiter, + allow_inflow_on_outflow, BC_MF.get()); } Vector > mac_vec(finest_level+1);