mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
NewtonMaxError moved to TypeTag-free parameter system
This commit is contained in:
parent
0195f8f113
commit
0bbcb09480
@ -141,7 +141,7 @@ public:
|
||||
{
|
||||
const auto& constraintsMap = this->model().linearizer().constraintsMap();
|
||||
this->lastError_ = this->error_;
|
||||
Scalar newtonMaxError = Parameters::get<TypeTag, Parameters::NewtonMaxError>();
|
||||
Scalar newtonMaxError = Parameters::Get<Parameters::NewtonMaxError<Scalar>>();
|
||||
|
||||
// calculate the error as the maximum weighted tolerance of
|
||||
// the solution's residual
|
||||
|
@ -137,7 +137,7 @@ namespace Opm {
|
||||
Parameters::Hide<Parameters::PredeterminedTimeStepsFile>();
|
||||
|
||||
// flow also does not use the eWoms Newton method
|
||||
Parameters::hideParam<TypeTag, Parameters::NewtonMaxError>();
|
||||
Parameters::Hide<Parameters::NewtonMaxError<Scalar>>();
|
||||
Parameters::Hide<Parameters::NewtonTolerance<Scalar>>();
|
||||
Parameters::hideParam<TypeTag, Parameters::NewtonTargetIterations>();
|
||||
Parameters::Hide<Parameters::NewtonVerbose>();
|
||||
|
Loading…
Reference in New Issue
Block a user