Skip to content

Commit

Permalink
Added a check on the flux profile type name. If a match is not found,…
Browse files Browse the repository at this point in the history
… a runtime error is given. (#325)

Co-authored-by: Dave Parker <[email protected]>
Co-authored-by: Martin R. Pfaller <[email protected]>
  • Loading branch information
3 people authored Feb 7, 2025
1 parent d272890 commit 407d74d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Code/Source/solver/read_files.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,8 @@ void read_bc(Simulation* simulation, EquationParameters* eq_params, eqType& lEq,
int iFa = lBc.iFa;

read_spatial_values(com_mod, com_mod.msh[iM], com_mod.msh[iM].fa[iFa], file_name, lBc);
} else {
throw std::runtime_error("[read_bc] Unknown spatial profile type '" + ctmp + "'.");
}

// Weak Dirichlet BC for fluid/FSI equations
Expand Down

0 comments on commit 407d74d

Please sign in to comment.