Skip to content
Snippets Groups Projects
Commit a8bde65d authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

fail if no Dirichlet boundary is given at all

[[Imported from SVN: r6910]]
parent 98408c42
No related branches found
No related tags found
No related merge requests found
......@@ -160,6 +160,9 @@ int main (int argc, char *argv[]) try
rodFactory.create(complex.rods_["rod"].dirichletValues_,
RigidBodyMotion<3>(FieldVector<double,3>(0), Rotation<3,double>::identity()));
BitSetVector<1> rodDNodes(complex.rods_["rod"].dirichletValues_.size(), false);
// we need at least one Dirichlet side
assert(parameterSet.hasKey("dirichletValue0") or parameterSet.hasKey("dirichletValue1"));
if (parameterSet.hasKey("dirichletValue0")){
......
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