Commit 980df9c2 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'fix/test-richards-benchmark-robustness' into 'master'

[richards][benchmark] Use direct solver for more robust test

Closes #1072

See merge request !2775

(cherry picked from commit bb36f03d)

733173b0 [richards][test][benchmark] Use direct solver to increaes test robustness
parent aa05b207
Pipeline #7428 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>
......@@ -95,8 +95,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