From 5b6b4a2969f2862a08264f3f097ee56f2623b452 Mon Sep 17 00:00:00 2001 From: Ann Almgren Date: Thu, 9 Jan 2025 16:44:22 -0800 Subject: [PATCH] use same logic for slip wall as for no-slip wall wrt rho_read --- Source/Initialization/ERF_InitBCs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Initialization/ERF_InitBCs.cpp b/Source/Initialization/ERF_InitBCs.cpp index a123684e5..c7dd6dc89 100644 --- a/Source/Initialization/ERF_InitBCs.cpp +++ b/Source/Initialization/ERF_InitBCs.cpp @@ -222,7 +222,8 @@ void ERF::init_bcs () domain_bc_type[ori] = "SlipWall"; Real rho_in; - if (pp.query("density", rho_in)) + rho_read = pp.query("density", rho_in); + if (rho_read) { m_bc_extdir_vals[BCVars::Rho_bc_comp][ori] = rho_in; }