Skip to content

Commit fdaa009

Browse files
hanzhao2020kko27
authored andcommitted
Fixed unknown coupled BC type when using genBC or svZeroD solver in FSI (SimVascular#463)
* Fixed unknown coupled BC type when using genBC or svZeroD solver in FSI * Change coupled BC if statement back to previous implementation to avoid unknown BC type error in FSI
1 parent 4e3b114 commit fdaa009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Code/Source/solver/read_files.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@ void read_eq(Simulation* simulation, EquationParameters* eq_params, eqType& lEq)
14131413
cplbc_type_str = eq_params->couple_to_cplBC.type.value();
14141414
}
14151415

1416-
if (cplBC.useGenBC || cplBC.useSvZeroD) {
1416+
if (eq_params->couple_to_genBC.defined() || eq_params->couple_to_cplBC.defined() || eq_params->svzerodsolver_interface_parameters.defined()) {
14171417
try {
14181418
cplBC.schm = consts::cplbc_name_to_type.at(cplbc_type_str);
14191419
} catch (const std::out_of_range& exception) {

0 commit comments

Comments
 (0)