diff --git a/test/porousmediumflow/richards/implicit/test_boxrichards.cc b/test/porousmediumflow/richards/implicit/test_boxrichards.cc index 726a67096296dee6ab8e2514fb09ae757337e2e2..4d71dc885c67a23a56134cffe7b90ce9cb86f212 100644 --- a/test/porousmediumflow/richards/implicit/test_boxrichards.cc +++ b/test/porousmediumflow/richards/implicit/test_boxrichards.cc @@ -43,6 +43,7 @@ #include <dumux/linear/amgbackend.hh> #include <dumux/nonlinear/newtonmethod.hh> #include <dumux/nonlinear/newtoncontroller.hh> +#include <dumux/porousmediumflow/richards/implicit/newtoncontroller.hh> #include <dumux/assembly/fvassembler.hh> @@ -156,7 +157,7 @@ int main(int argc, char** argv) try auto linearSolver = std::make_shared<LinearSolver>(); // the non-linear solver - using NewtonController = Dumux::NewtonController<TypeTag>; + using NewtonController = Dumux::RichardsNewtonController<TypeTag>; using NewtonMethod = Dumux::NewtonMethod<NewtonController, Assembler, LinearSolver>; auto newtonController = std::make_shared<NewtonController>(leafGridView.comm(), timeLoop); NewtonMethod nonLinearSolver(newtonController, assembler, linearSolver); diff --git a/test/porousmediumflow/richards/implicit/test_ccrichards.cc b/test/porousmediumflow/richards/implicit/test_ccrichards.cc index f0b80ac7b74e1218bf0c3d82c711dc79b5927760..d630ff8babb7d2f6557ac66347638262a3746b77 100644 --- a/test/porousmediumflow/richards/implicit/test_ccrichards.cc +++ b/test/porousmediumflow/richards/implicit/test_ccrichards.cc @@ -43,6 +43,7 @@ #include <dumux/linear/amgbackend.hh> #include <dumux/nonlinear/newtonmethod.hh> #include <dumux/nonlinear/newtoncontroller.hh> +#include <dumux/porousmediumflow/richards/implicit/newtoncontroller.hh> #include <dumux/assembly/fvassembler.hh> @@ -156,7 +157,7 @@ int main(int argc, char** argv) try auto linearSolver = std::make_shared<LinearSolver>(); // the non-linear solver - using NewtonController = Dumux::NewtonController<TypeTag>; + using NewtonController = Dumux::RichardsNewtonController<TypeTag>; using NewtonMethod = Dumux::NewtonMethod<NewtonController, Assembler, LinearSolver>; auto newtonController = std::make_shared<NewtonController>(leafGridView.comm(), timeLoop); NewtonMethod nonLinearSolver(newtonController, assembler, linearSolver);