Skip to content
Snippets Groups Projects

Cosserat-Continuum-Nonplanar

Compare and Show latest version
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
+ 5
1
@@ -63,7 +63,7 @@
#endif
#ifndef WORLD_DIM
# define WORLD_DIM 3
# define WORLD_DIM 2
#endif
const int dimworld = WORLD_DIM;
@@ -572,6 +572,9 @@ int main (int argc, char *argv[]) try
solver.solve();
xRBM = solver.getSol();
} else { //parameterSet.get<std::string>("solvertype") == "cholmod"
#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,
@@ -584,6 +587,7 @@ int main (int argc, char *argv[]) try
solver.setInitialIterate(xRBM);
solver.solve();
xRBM = solver.getSol();
#endif
}
for (int i = 0; i < xRBM.size(); i++) {
Loading