Skip to content
Snippets Groups Projects
Commit 33c05a00 authored by Kilian Weishaupt's avatar Kilian Weishaupt Committed by Timo Koch
Browse files

[test][md][stokesdarcy1p2c2p2c] Use new NewtonSolver

parent 50280ef8
No related branches found
No related tags found
2 merge requests!1337WIP Fix/dirichlet caching v2,!1330Feature/improve privar switch
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#include <dumux/multidomain/staggeredtraits.hh> #include <dumux/multidomain/staggeredtraits.hh>
#include <dumux/multidomain/fvassembler.hh> #include <dumux/multidomain/fvassembler.hh>
#include <dumux/multidomain/privarswitchnewtonsolver.hh> #include <dumux/multidomain/newtonsolver.hh>
#include <dumux/multidomain/boundary/stokesdarcy/couplingmanager.hh> #include <dumux/multidomain/boundary/stokesdarcy/couplingmanager.hh>
...@@ -202,11 +202,8 @@ int main(int argc, char** argv) try ...@@ -202,11 +202,8 @@ int main(int argc, char** argv) try
using LinearSolver = UMFPackBackend; using LinearSolver = UMFPackBackend;
auto linearSolver = std::make_shared<LinearSolver>(); auto linearSolver = std::make_shared<LinearSolver>();
// the primary variable switches used by the sub models
using PriVarSwitchTuple = std::tuple<NoPrimaryVariableSwitch, NoPrimaryVariableSwitch, GetPropType<DarcyTypeTag, Properties::PrimaryVariableSwitch>>;
// the non-linear solver // the non-linear solver
using NewtonSolver = MultiDomainPriVarSwitchNewtonSolver<Assembler, LinearSolver, CouplingManager, PriVarSwitchTuple>; using NewtonSolver = MultiDomainNewtonSolver<Assembler, LinearSolver, CouplingManager>;
NewtonSolver nonLinearSolver(assembler, linearSolver, couplingManager); NewtonSolver nonLinearSolver(assembler, linearSolver, couplingManager);
// time loop // time loop
......
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