Commit 703f8561 authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

[stokes]

defaulted newton controller properties

reviewed by bernd


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@14996 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 550dcd17
......@@ -43,10 +43,6 @@ public:
: ParentType(problem)
{
Dune::FMatrixPrecision<>::set_singular_limit(1e-35);
this->setMaxRelativeShift(1e-6);
this->setTargetSteps(10);
this->setMaxSteps(18);
}
};
} // end namespace Dumux
......
......@@ -148,6 +148,14 @@ SET_SCALAR_PROP(BoxStokes, StokesStabilizationBeta, 0.0);
//! Set gravity by default
SET_BOOL_PROP(BoxStokes, ProblemEnableGravity, true);
//! Set the value for the maximum relative shift
SET_SCALAR_PROP(BoxStokes, NewtonMaxRelativeShift, 1e-6);
//! Set the number of iterations at which the Newton method should aim at.
SET_INT_PROP(BoxStokes, NewtonTargetSteps, 10);
//! Set the number of maximum iterations for the Newton method.
SET_INT_PROP(BoxStokes, NewtonMaxSteps, 18);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment