Preconditioned iterative solver for the incompressible Stokes problem. More...
#include <dumux/linear/stokes_solver.hh>
Public Types | |
using | Scalar = double |
Public Member Functions | |
StokesSolver (std::shared_ptr< const VelocityGG > vGridGeometry, std::shared_ptr< const PressureGG > pGridGeometry, const Vector &dirichletDofs, const std::string ¶mGroup="") | |
Constructor. More... | |
bool | solve (const Matrix &A, Vector &x, const Vector &b) |
Scalar | norm (const Vector &b) const |
std::string | name () const |
const Dune::InverseOperatorResult & | result () const |
const std::string & | paramGroup () const |
the parameter group for getting parameter from the parameter tree More... | |
int | verbosity () const |
the verbosity level More... | |
void | setVerbosity (int v) |
set the verbosity level More... | |
int | maxIter () const |
the maximum number of linear solver iterations More... | |
void | setMaxIter (int i) |
set the maximum number of linear solver iterations More... | |
Scalar | residReduction () const |
the linear solver residual reduction More... | |
void | setResidualReduction (Scalar r) |
set the linear solver residual reduction More... | |
Scalar | relaxation () const |
the linear solver relaxation factor More... | |
void | setRelaxation (Scalar r) |
set the linear solver relaxation factor More... | |
int | precondIter () const |
the number of preconditioner iterations More... | |
void | setPrecondIter (int i) |
set the number of preconditioner iterations More... | |
int | precondVerbosity () const |
the preconditioner verbosity More... | |
void | setPrecondVerbosity (int verbosityLevel) |
set the preconditioner verbosity More... | |
|
inherited |
export Scalar type (might be needed to set parameters from output) TODO: Do we need this?
|
inline |
vGridGeometry | grid geometry of the velocity discretization |
pGridGeometry | grid geometry of the pressure discretization |
dirichletDofs | a vector (same size and shape as right hand side) where the dirichlet dofs are marked with 1.0 and all other entries are 0.0. |
paramGroup | group prefix when looking up keys in the parameter tree |
|
inlineinherited |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |