Skip to content
Snippets Groups Projects
Commit 19f2899f authored by Lisa Julia Nebel's avatar Lisa Julia Nebel
Browse files

Change the keywords for switching between the solvers to trustRegion and...

Change the keywords for switching between the solvers to trustRegion and proximalNewton also in film-on-substrate
parent 96bfe315
No related branches found
No related tags found
1 merge request!72Cosserat-Continuum-Nonplanar
......@@ -59,7 +59,7 @@ initialDeformation = "x"
#############################################
# Inner solver, cholmod or multigrid
solvertype = multigrid
solvertype = trustRegion
# Number of homotopy steps for the Dirichlet boundary conditions
numHomotopySteps = 1
......
......@@ -554,7 +554,7 @@ int main (int argc, char *argv[]) try
// Create the chosen solver and solve!
///////////////////////////////////////////////////
if (parameterSet.get<std::string>("solvertype") == "multigrid") {
if (parameterSet.get<std::string>("solvertype", "trustRegion") == "trustRegion") {
#if MIXED_SPACE
MixedRiemannianTrustRegionSolver<GridType, CompositeBasis, DeformationFEBasis, RealTuple<double,dim>, OrientationFEBasis, Rotation<double,dim>> solver;
solver.setup(*grid,
......@@ -603,7 +603,7 @@ int main (int argc, char *argv[]) try
x[_1][i] = xRBM[i].q;
}
#endif
} else { //parameterSet.get<std::string>("solvertype") == "cholmod"
} else { //parameterSet.get<std::string>("solvertype") == "proximalNewton"
#if MIXED_SPACE
DUNE_THROW(Exception, "Error: There is no MixedRiemannianProximalNewtonSolver!");
......
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