KASKADE 7 development version
|
#include <jacobiSolver.hh>
Jacobi iteration working on block matrices and vectors.
nComponents | number of components in each block entry (i.e. number of components of ansatz functions) |
Definition at line 19 of file jacobiSolver.hh.
Public Types | |
typedef Dune::FieldMatrix< Scalar, nComponents, nComponents > | MatrixBlock |
typedef Dune::FieldVector< Scalar, nComponents > | VectorBlock |
Public Member Functions | |
JacobiSolver (Dune::BCRSMatrix< MatrixBlock > const &A_, size_t maxSteps_=100, double relaxation_=1.0) | |
Constructor taking a reference to a bcrs matrix. More... | |
virtual | ~JacobiSolver () |
void | pre (Dune::BlockVector< VectorBlock > &, Dune::BlockVector< VectorBlock > &) |
void | post (Dune::BlockVector< VectorBlock > &) |
void | apply (Dune::BlockVector< VectorBlock > &solution, Dune::BlockVector< VectorBlock > const &rhs) |
Static Public Attributes | |
static int const | category = Dune::SolverCategory::sequential |
typedef Dune::FieldMatrix<Scalar,nComponents,nComponents> Kaskade::JacobiSolver< Scalar, nComponents >::MatrixBlock |
Definition at line 22 of file jacobiSolver.hh.
typedef Dune::FieldVector<Scalar,nComponents> Kaskade::JacobiSolver< Scalar, nComponents >::VectorBlock |
Definition at line 23 of file jacobiSolver.hh.
|
inlineexplicit |
Constructor taking a reference to a bcrs matrix.
@TODO: constructor taking triplet matrix or operators??? This is difficult if we want to avoid unnecessary matrix copies. On the other hand this would allow a unique interface.
Definition at line 32 of file jacobiSolver.hh.
|
inlinevirtual |
Definition at line 38 of file jacobiSolver.hh.
|
inline |
Definition at line 43 of file jacobiSolver.hh.
|
inline |
Definition at line 41 of file jacobiSolver.hh.
|
inline |
Definition at line 40 of file jacobiSolver.hh.
|
static |
Definition at line 25 of file jacobiSolver.hh.