Commit aa066372 authored by Timo Koch's avatar Timo Koch
Browse files

[test][richards][parallel][lens] Use istl solver factory backend

parent cf36a587
......@@ -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
......
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment