Skip to content
Snippets Groups Projects
Commit 473b2404 authored by Norihiro Watanabe's avatar Norihiro Watanabe
Browse files

[PCS/LIE] accept multiple displacement_jump process variables

parent 5e77cb1b
No related branches found
No related tags found
No related merge requests found
...@@ -69,8 +69,9 @@ createSmallDeformationProcess( ...@@ -69,8 +69,9 @@ createSmallDeformationProcess(
process_variables.emplace_back(const_cast<ProcessVariable&>(*variable)); process_variables.emplace_back(const_cast<ProcessVariable&>(*variable));
} }
if (process_variables.size() > 2) auto const n_fractures = process_variables.size()-1;
OGS_FATAL("Currently only one displacement jump is supported"); if (n_fractures < 1)
OGS_FATAL("No displacement jump variables are specified");
DBUG("Associate displacement with process variable \'%s\'.", DBUG("Associate displacement with process variable \'%s\'.",
process_variables.back().get().getName().c_str()); process_variables.back().get().getName().c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment