remove the linearization recycling

linearization recycling lead to more complex code and -- more
importantly -- frequently caused problems for simulators.
This commit is contained in:
Andreas Lauser committed 2016-01-05 11:54:26 +01:00
1 parent 32d2c0d411
commit 5de416e314
4 files changed
-14

No files matched your search

-4
View File
@@ -58,10 +58,6 @@ SET_TYPE_PROP(Co2InjectionFlashNiEcfvProblem, Scalar, quad);
// the default linear solver used for this problem (-> AMG) cannot be used with quadruple
// precision scalars... (this seems to only apply to Dune >= 2.4)
SET_TAG_PROP(Co2InjectionFlashNiEcfvProblem, LinearSolverSplice, ParallelIterativeLinearSolver);
// somehow the test does not converge if linearization recycling is enabled. TODO: figure
// out why!
SET_BOOL_PROP(Co2InjectionFlashNiEcfvProblem, EnableLinearizationRecycling, false);
#else
SET_SCALAR_PROP(Co2InjectionFlashNiEcfvProblem, NewtonRawTolerance, 1e-5);
#endif
-3
View File
@@ -140,9 +140,6 @@ SET_BOOL_PROP(Co2InjectionBaseProblem, NewtonWriteConvergence, false);
// Enable gravity
SET_BOOL_PROP(Co2InjectionBaseProblem, EnableGravity, true);
// Reuse linearizations if possible?
SET_BOOL_PROP(Co2InjectionBaseProblem, EnableLinearizationRecycling, true);
// set the defaults for the problem specific properties
SET_SCALAR_PROP(Co2InjectionBaseProblem, FluidSystemPressureLow, 3e7);
SET_SCALAR_PROP(Co2InjectionBaseProblem, FluidSystemPressureHigh, 4e7);
-3
View File
@@ -93,9 +93,6 @@ SET_BOOL_PROP(ReservoirBaseProblem, NewtonWriteConvergence, false);
// Enable gravity
SET_BOOL_PROP(ReservoirBaseProblem, EnableGravity, true);
// Reuse the last linearization if possible?
SET_BOOL_PROP(ReservoirBaseProblem, EnableLinearizationRecycling, true);
// Enable constraint DOFs?
SET_BOOL_PROP(ReservoirBaseProblem, EnableConstraints, true);
-4
View File
@@ -94,10 +94,6 @@ SET_BOOL_PROP(RichardsLensProblem, EnableGravity, true);
// Only relinearize the parts where the current solution is sufficiently "bad"
SET_BOOL_PROP(RichardsLensProblem, EnablePartialRelinearization, true);
// Enable re-use of the linearization of the last iteration of the
// previous for the first iteration of the current time step?
SET_BOOL_PROP(RichardsLensProblem, EnableLinearizationRecycling, true);
// Use central differences to approximate the Jacobian matrix
SET_INT_PROP(RichardsLensProblem, NumericDifferenceMethod, 0);