Skip to content

Commit

Permalink
Fix WPS regtest. (erf-model#1828)
Browse files Browse the repository at this point in the history
  • Loading branch information
AMLattanzi authored Sep 23, 2024
1 parent 2daa449 commit dd122aa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/ERF_IndexDefines.H
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ namespace BCVars {
RhoScalar_bc_comp,
RhoQ1_bc_comp,
RhoQ2_bc_comp,
RhoQ3_bc_comp,
RhoQ4_bc_comp,
RhoQ5_bc_comp,
RhoQ6_bc_comp,
xvel_bc = NBCVAR_max,
yvel_bc = NBCVAR_max+1,
zvel_bc = NBCVAR_max+2,
Expand Down
10 changes: 10 additions & 0 deletions Source/Initialization/ERF_init_bcs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ void ERF::init_bcs ()
m_bc_extdir_vals[BCVars::RhoScalar_bc_comp][ori] = 0.0;
m_bc_extdir_vals[BCVars::RhoQ1_bc_comp][ori] = 0.0;
m_bc_extdir_vals[BCVars::RhoQ2_bc_comp][ori] = 0.0;
m_bc_extdir_vals[BCVars::RhoQ3_bc_comp][ori] = 0.0;
m_bc_extdir_vals[BCVars::RhoQ4_bc_comp][ori] = 0.0;
m_bc_extdir_vals[BCVars::RhoQ5_bc_comp][ori] = 0.0;
m_bc_extdir_vals[BCVars::RhoQ6_bc_comp][ori] = 0.0;

m_bc_extdir_vals[BCVars::xvel_bc][ori] = 0.0; // default
m_bc_extdir_vals[BCVars::yvel_bc][ori] = 0.0;
Expand All @@ -42,11 +46,17 @@ void ERF::init_bcs ()
// These are simply defaults for Neumann gradients -- they should be over-written below
m_bc_neumann_vals[BCVars::Rho_bc_comp][ori] = 0.0;
m_bc_neumann_vals[BCVars::RhoTheta_bc_comp][ori] = 0.0;

m_bc_neumann_vals[BCVars::RhoKE_bc_comp][ori] = 0.0;
m_bc_neumann_vals[BCVars::RhoQKE_bc_comp][ori] = 0.0;
m_bc_neumann_vals[BCVars::RhoScalar_bc_comp][ori] = 0.0;
m_bc_neumann_vals[BCVars::RhoQ1_bc_comp][ori] = 0.0;
m_bc_neumann_vals[BCVars::RhoQ2_bc_comp][ori] = 0.0;
m_bc_neumann_vals[BCVars::RhoQ3_bc_comp][ori] = 0.0;
m_bc_neumann_vals[BCVars::RhoQ4_bc_comp][ori] = 0.0;
m_bc_neumann_vals[BCVars::RhoQ5_bc_comp][ori] = 0.0;
m_bc_neumann_vals[BCVars::RhoQ6_bc_comp][ori] = 0.0;

m_bc_neumann_vals[BCVars::xvel_bc][ori] = 0.0;
m_bc_neumann_vals[BCVars::yvel_bc][ori] = 0.0;
m_bc_neumann_vals[BCVars::zvel_bc][ori] = 0.0;
Expand Down

0 comments on commit dd122aa

Please sign in to comment.