Skip to content
Snippets Groups Projects
Commit e496871a authored by Elias Pipping's avatar Elias Pipping
Browse files

[Cleanup] Rename: maxiterations -> maximumIterations

Also change its default from 1e6 to 1e5 and treat it as size_t
parent 0d1290ad
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ relaxation = 0.5
requiredReduction = 0.5
[solver.tnnmg.linear]
maxiterations = 1000000
maxiumumIterations = 100000
tolerance = 1e-10
pre = 3
cycle = 1 # 1 = V, 2 = W, etc.
......
......@@ -17,7 +17,7 @@ SolverFactory<dim, BlockProblemType, GridType>::SolverFactory(
Dune::BitSetVector<dim> const &ignoreNodes)
: baseEnergyNorm(linearBaseSolverStep),
linearBaseSolver(&linearBaseSolverStep,
parset.get<int>("linear.maxiterations"),
parset.get<size_t>("linear.maxiumumIterations"),
parset.get<double>("linear.tolerance"), &baseEnergyNorm,
Solver::QUIET),
transferOperators(refinements),
......
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