Skip to content

Commit 4db1403

Browse files
authored
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 27bda0f commit 4db1403

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
@@ -1404,7 +1404,7 @@ void read_eq(Simulation* simulation, EquationParameters* eq_params, eqType& lEq)
14041404
cplbc_type_str = eq_params->couple_to_cplBC.type.value();
14051405
}
14061406

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

0 commit comments

Comments
 (0)