template<class Matrix, class Vector, class VelocityGG, class PressureGG>
class Dumux::StokesSolver< Matrix, Vector, VelocityGG, PressureGG >
- Note
- Uses StokesPreconditioner as preconditioner (tailored to the incompressible Stokes problem)
-
No MPI parallelization implemented, some shared-memory parallelism is enabled
|
| StokesSolver (std::shared_ptr< const VelocityGG > vGridGeometry, std::shared_ptr< const PressureGG > pGridGeometry, const Vector &dirichletDofs, const std::string ¶mGroup="") |
| Constructor.
|
|
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
|
|
int | verbosity () const |
| the verbosity level
|
|
void | setVerbosity (int v) |
| set the verbosity level
|
|
int | maxIter () const |
| the maximum number of linear solver iterations
|
|
void | setMaxIter (int i) |
| set the maximum number of linear solver iterations
|
|
Scalar | residReduction () const |
| the linear solver residual reduction
|
|
void | setResidualReduction (Scalar r) |
| set the linear solver residual reduction
|
|
Scalar | relaxation () const |
| the linear solver relaxation factor
|
|
void | setRelaxation (Scalar r) |
| set the linear solver relaxation factor
|
|
int | precondIter () const |
| the number of preconditioner iterations
|
|
void | setPrecondIter (int i) |
| set the number of preconditioner iterations
|
|
int | precondVerbosity () const |
| the preconditioner verbosity
|
|
void | setPrecondVerbosity (int verbosityLevel) |
| set the preconditioner verbosity
|
|