Commit 7cf5f2fb authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[test][3pwateroil][sagd] do not use AMGBackend

On minimal setups where UMFPack/SuperLU are not installed, this test
fails as AMG then uses an iterative solver (as fallback) with a too soft
convergence criterion.
parent 38b2d87b
......@@ -33,7 +33,7 @@
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/timeloop.hh>
#include <dumux/linear/amgbackend.hh>
#include <dumux/linear/seqsolverbackend.hh>
#include <dumux/linear/linearsolvertraits.hh>
#include <dumux/nonlinear/newtonsolver.hh>
......@@ -120,8 +120,8 @@ int main(int argc, char** argv)
auto assembler = std::make_shared<Assembler>(problem, gridGeometry, gridVariables, timeLoop, xOld);
// the linear solver
using LinearSolver = AMGBiCGSTABBackend<LinearSolverTraits<GridGeometry>>;
auto linearSolver = std::make_shared<LinearSolver>(leafGridView, gridGeometry->dofMapper());
using LinearSolver = ILU0BiCGSTABBackend;
auto linearSolver = std::make_shared<LinearSolver>();
// the non-linear solver
using NewtonSolver = NewtonSolver<Assembler, LinearSolver>;
......
......@@ -12,6 +12,9 @@ Name = sagd # name passed to the output routines
[Newton]
MaxSteps = 8
[LinearSolver]
ResidualReduction = 1e-16
[Component]
SolidDensity = 2650
SolidThermalConductivity = 2.8
......
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