diff --git a/test/porousmediumflow/richards/implicit/lens/main.cc b/test/porousmediumflow/richards/implicit/lens/main.cc index 06ab3fc8c80e3a957bff89049351f841452d5cb3..1a095ab1d6783b8e02a46334e740b77dee2bcde7 100644 --- a/test/porousmediumflow/richards/implicit/lens/main.cc +++ b/test/porousmediumflow/richards/implicit/lens/main.cc @@ -38,8 +38,7 @@ #include <dumux/common/valgrind.hh> #include <dumux/common/dumuxmessage.hh> -#include <dumux/linear/amgbackend.hh> -#include <dumux/linear/linearsolvertraits.hh> +#include <dumux/linear/genericistlbackend.hh> #include <dumux/porousmediumflow/richards/newtonsolver.hh> #include <dumux/assembly/fvassembler.hh> @@ -144,7 +143,7 @@ int main(int argc, char** argv) try auto assembler = std::make_shared<Assembler>(problem, gridGeometry, gridVariables, timeLoop, xOld); // the linear solver - using LinearSolver = AMGBiCGSTABBackend<LinearSolverTraits<GridGeometry>>; + using LinearSolver = Dumux::GenericIstlBackend<TypeTag>; auto linearSolver = std::make_shared<LinearSolver>(leafGridView, gridGeometry->dofMapper()); // the non-linear solver diff --git a/test/porousmediumflow/richards/implicit/lens/params.input b/test/porousmediumflow/richards/implicit/lens/params.input index 89b7a2d41f943580bcf5085462907168b2912c96..f247d2d9cffec564761751d805cad6d165d5a7f8 100644 --- a/test/porousmediumflow/richards/implicit/lens/params.input +++ b/test/porousmediumflow/richards/implicit/lens/params.input @@ -8,8 +8,14 @@ Cells = 24 16 [Problem] Name = richardslens -EnableGravity = 1 # enable gravity +EnableGravity = true # enable gravity [Newton] TargetSteps = 18 # set the "desirable" number of Newton iterations of a time step EnableChop = true # chop for better convergence + +[LinearSolver] +Type = bicgstabsolver +PreconditionerType = amg +AmgMaxLevel = 2 +AmgAccumulationMode = atOnce