Skip to content
Snippets Groups Projects
Commit e070e79b authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'fix/3p-tests-on-minimal-setup' into 'master'

fix/3p-tests-on-minimal-setup

Closes #1026

See merge request !2601
parents 4e48ebff 7cf5f2fb
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>;
......
......@@ -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
......
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