Commit 733173b0 authored by Timo Koch's avatar Timo Koch Committed by Timo Koch
Browse files

[richards][test][benchmark] Use direct solver to increaes test robustness

parent 88275364
Pipeline #7419 passed with stages
......@@ -39,7 +39,7 @@
#include <dumux/common/math.hh>
#include <dumux/linear/linearsolvertraits.hh>
#include <dumux/linear/amgbackend.hh>
#include <dumux/linear/seqsolverbackend.hh>
#include <dumux/io/format.hh>
#include <dumux/io/gnuplotinterface.hh>
......@@ -94,8 +94,8 @@ int main(int argc, char** argv)
vtkWriter->addVolumeVariable([](const auto& volVars){ return volVars.saturation(0); }, "saturation");
vtkWriter->addVolumeVariable([](const auto& volVars){ return volVars.pressure(0); }, "pressure");
using LinearSolver = AMGBiCGSTABBackend<LinearSolverTraits<GridGeometry>>;
auto linearSolver = std::make_shared<LinearSolver>(leafGridView, gridGeometry->dofMapper());
using LinearSolver = UMFPackBackend;
auto linearSolver = std::make_shared<LinearSolver>();
using Assembler = FVAssembler<TypeTag, DiffMethod::analytic>;
......
Markdown is supported
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