Skip to content
Snippets Groups Projects
Commit f27b3421 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Merge branch 'feature/fix-master' into 'master'

Fix build and execution of finite-strain-elasticity

See merge request !61
parents 300b67a9 553f924d
No related branches found
No related tags found
1 merge request!61Fix build and execution of finite-strain-elasticity
Pipeline #36939 passed
if(ADOLC_FOUND AND IPOPT_FOUND AND PYTHONLIBS_FOUND AND dune-uggrid_FOUND)
if(ADOLC_FOUND AND IPOPT_FOUND AND Python3_FOUND AND dune-uggrid_FOUND)
set(programs linear-elasticity)
# When combining dune-common 2.7 and dune-fufem 2.8, no cmake test for the
......
......@@ -73,6 +73,8 @@ int main (int argc, char *argv[]) try
// parse data file
ParameterTree parameterSet;
if (argc < 2)
DUNE_THROW(Exception, "Usage: ./finite-strain-elasticity <parameter file>");
ParameterTreeParser::readINITree(argv[1], parameterSet);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment