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