Commit bb36f03d 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
parents 88275364 733173b0
Pipeline #7427 passed with stage
in 29 seconds
......@@ -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