From 4c48d6f0ce09f9e650b5d18ddfb00a43fa0ba080 Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Tue, 17 Mar 2020 00:03:46 +0100
Subject: [PATCH] [examples] Update readme

---
 examples/2pinfiltration/README.md       | 3 ++-
 examples/shallowwaterfriction/README.md | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/examples/2pinfiltration/README.md b/examples/2pinfiltration/README.md
index 86cd1a14e0..d068fbcda1 100644
--- a/examples/2pinfiltration/README.md
+++ b/examples/2pinfiltration/README.md
@@ -571,6 +571,7 @@ The file dumuxmessage.hh contains the class defining the start and end message o
 we include the linear solver to be used to solve the linear system
 ```cpp
 #include <dumux/linear/amgbackend.hh>
+#include <dumux/linear/linearsolvertraits.hh>
 ```
 we include the nonlinear Newton's method
 ```cpp
@@ -785,7 +786,7 @@ we set the assembler with the time loop because we have an instationary problem
 ```
 we set the linear solver
 ```cpp
-    using LinearSolver = AMGBackend<TypeTag>;
+    using LinearSolver = AMGBiCGSTABBackend<LinearSolverTraits<GridGeometry>>;
     auto linearSolver = std::make_shared<LinearSolver>(leafGridView, gridGeometry->dofMapper());
 ```
 additionally we set the non-linear solver.
diff --git a/examples/shallowwaterfriction/README.md b/examples/shallowwaterfriction/README.md
index a211d33553..6d4c51c877 100644
--- a/examples/shallowwaterfriction/README.md
+++ b/examples/shallowwaterfriction/README.md
@@ -613,6 +613,7 @@ The gridmanager constructs a grid from the information in the input or grid file
 We include the linear solver to be used to solve the linear system
 ```cpp
 #include <dumux/linear/amgbackend.hh>
+#include <dumux/linear/linearsolvertraits.hh>
 ```
 We include the nonlinear newtons method
 ```cpp
@@ -721,7 +722,7 @@ we set the assembler with the time loop because we have an instationary problem.
 ```
 We set the linear solver.
 ```cpp
-    using LinearSolver = Dumux::AMGBackend<TypeTag>;
+    using LinearSolver = AMGBiCGSTABBackend<LinearSolverTraits<GridGeometry>>;
     auto linearSolver = std::make_shared<LinearSolver>(leafGridView, gridGeometry->dofMapper());
 ```
 Additionaly, we set the non-linear solver.
-- 
GitLab