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
2015-12-31 13:20:13 +01:00
parent 32d2c0d411
commit 5de416e314
4 changed files with 0 additions and 14 deletions

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

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);

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);

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);