Skip to content
Snippets Groups Projects
Commit 38b2d87b authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[test][columnxylol] 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 4e48ebff
No related branches found
No related tags found
1 merge request!2601fix/3p-tests-on-minimal-setup
......@@ -32,7 +32,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>
......@@ -118,8 +118,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>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment