Commit 4c48d6f0 authored by Timo Koch's avatar Timo Koch
Browse files

[examples] Update readme

parent cf60e1d3
......@@ -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.
......
......@@ -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.
......
Supports Markdown
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