Skip to content

Commit

Permalink
fix to read BCs for multiblock
Browse files Browse the repository at this point in the history
  • Loading branch information
mukul1992 committed Jan 22, 2024
1 parent 761085b commit e4e8fa7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Source/Initialization/ERF_init_bcs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@ void ERF::init_bcs ()
m_bc_neumann_vals[BCVars::yvel_bc][ori] = 0.0;
m_bc_neumann_vals[BCVars::zvel_bc][ori] = 0.0;

ParmParse pp(bcid);
std::string pp_text;
if (pp_prefix == "erf") {
pp_text = bcid;
} else {
pp_text = pp_prefix + "." + bcid;
}
ParmParse pp(pp_text);
std::string bc_type_in = "null";
pp.query("type", bc_type_in);
//if (pp.query("type", bc_type_in))
Expand Down

0 comments on commit e4e8fa7

Please sign in to comment.