mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Newton: Do not fiddle around with the user specified tolerance anymore
As a consquence, the property which sets this tolerance is renamed from NewtonRawTolerance to NewtonTolerance.
This commit is contained in:
parent
2d4447a7e5
commit
b77b97e5e6
@ -62,7 +62,7 @@ SET_TYPE_PROP(Co2InjectionFlashEcfvProblem, Scalar, quad);
|
|||||||
// precision scalars... (this seems to only apply to Dune >= 2.4)
|
// precision scalars... (this seems to only apply to Dune >= 2.4)
|
||||||
SET_TAG_PROP(Co2InjectionFlashEcfvProblem, LinearSolverSplice, ParallelBiCGStabLinearSolver);
|
SET_TAG_PROP(Co2InjectionFlashEcfvProblem, LinearSolverSplice, ParallelBiCGStabLinearSolver);
|
||||||
#else
|
#else
|
||||||
SET_SCALAR_PROP(Co2InjectionFlashEcfvProblem, NewtonRawTolerance, 1e-5);
|
SET_SCALAR_PROP(Co2InjectionFlashEcfvProblem, NewtonTolerance, 1e-5);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_PROPERTIES
|
END_PROPERTIES
|
||||||
|
@ -61,7 +61,7 @@ SET_TYPE_PROP(Co2InjectionFlashNiEcfvProblem, Scalar, quad);
|
|||||||
// precision scalars... (this seems to only apply to Dune >= 2.4)
|
// precision scalars... (this seems to only apply to Dune >= 2.4)
|
||||||
SET_TAG_PROP(Co2InjectionFlashNiEcfvProblem, LinearSolverSplice, ParallelBiCGStabLinearSolver);
|
SET_TAG_PROP(Co2InjectionFlashNiEcfvProblem, LinearSolverSplice, ParallelBiCGStabLinearSolver);
|
||||||
#else
|
#else
|
||||||
SET_SCALAR_PROP(Co2InjectionFlashNiEcfvProblem, NewtonRawTolerance, 1e-5);
|
SET_SCALAR_PROP(Co2InjectionFlashNiEcfvProblem, NewtonTolerance, 1e-5);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_PROPERTIES
|
END_PROPERTIES
|
||||||
|
@ -58,7 +58,7 @@ SET_TYPE_PROP(Co2InjectionFlashNiVcfvProblem, Scalar, quad);
|
|||||||
// precision scalars... (this seems to only apply to Dune >= 2.4)
|
// precision scalars... (this seems to only apply to Dune >= 2.4)
|
||||||
SET_TAG_PROP(Co2InjectionFlashNiVcfvProblem, LinearSolverSplice, ParallelBiCGStabLinearSolver);
|
SET_TAG_PROP(Co2InjectionFlashNiVcfvProblem, LinearSolverSplice, ParallelBiCGStabLinearSolver);
|
||||||
#else
|
#else
|
||||||
SET_SCALAR_PROP(Co2InjectionFlashNiVcfvProblem, NewtonRawTolerance, 1e-5);
|
SET_SCALAR_PROP(Co2InjectionFlashNiVcfvProblem, NewtonTolerance, 1e-5);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_PROPERTIES
|
END_PROPERTIES
|
||||||
|
@ -59,7 +59,7 @@ SET_TYPE_PROP(Co2InjectionFlashVcfvProblem, Scalar, quad);
|
|||||||
// precision scalars... (this seems to only apply to Dune >= 2.4)
|
// precision scalars... (this seems to only apply to Dune >= 2.4)
|
||||||
SET_TAG_PROP(Co2InjectionFlashVcfvProblem, LinearSolverSplice, ParallelBiCGStabLinearSolver);
|
SET_TAG_PROP(Co2InjectionFlashVcfvProblem, LinearSolverSplice, ParallelBiCGStabLinearSolver);
|
||||||
#else
|
#else
|
||||||
SET_SCALAR_PROP(Co2InjectionFlashVcfvProblem, NewtonRawTolerance, 1e-5);
|
SET_SCALAR_PROP(Co2InjectionFlashVcfvProblem, NewtonTolerance, 1e-5);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_PROPERTIES
|
END_PROPERTIES
|
||||||
|
@ -137,7 +137,7 @@ public:
|
|||||||
SET_STRING_PROP(ReservoirBaseProblem, GridFile, "data/reservoir.dgf");
|
SET_STRING_PROP(ReservoirBaseProblem, GridFile, "data/reservoir.dgf");
|
||||||
|
|
||||||
// increase the tolerance for this problem to get larger time steps
|
// increase the tolerance for this problem to get larger time steps
|
||||||
SET_SCALAR_PROP(ReservoirBaseProblem, NewtonRawTolerance, 1e-6);
|
SET_SCALAR_PROP(ReservoirBaseProblem, NewtonTolerance, 1e-6);
|
||||||
|
|
||||||
END_PROPERTIES
|
END_PROPERTIES
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user