Skip to content
Snippets Groups Projects

Cosserat-Continuum-Nonplanar

Compare and Show latest version
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
+ 3
3
@@ -572,7 +572,9 @@ int main (int argc, char *argv[]) try
solver.solve();
xRBM = solver.getSol();
} else { //parameterSet.get<std::string>("solvertype") == "cholmod"
#if DUNE_VERSION_GTE(DUNE_SOLVERS, 2, 8)
#if DUNE_VERSION_LT(DUNE_COMMON, 2, 8)
DUNE_THROW(Exception, "Please install dune-solvers >= 2.8 to use the Proximal Newton Solver with Cholmod!");
#else
RiemannianProximalNewtonSolver<DeformationFEBasis, RBM> solver;
solver.setup(*grid,
&assembler,
@@ -585,8 +587,6 @@ int main (int argc, char *argv[]) try
solver.setInitialIterate(xRBM);
solver.solve();
xRBM = solver.getSol();
#else
DUNE_THROW(Exception, "Please install dune-solvers >= 2.8 to use the Proximal Newton Solver with Cholmod!");
#endif
}
Loading