#include <deal.II/multigrid/mg_matrix.h>
|
| | Matrix ()=default |
| |
| template<typename MatrixType > |
| | Matrix (const MGLevelObject< MatrixType > &M) |
| |
| template<typename MatrixType > |
| void | initialize (const MGLevelObject< MatrixType > &M) |
| |
| void | reset () |
| |
| const LinearOperator< VectorType > & | operator[] (unsigned int level) const |
| |
| virtual void | vmult (const unsigned int level, VectorType &dst, const VectorType &src) const override |
| |
| virtual void | vmult_add (const unsigned int level, VectorType &dst, const VectorType &src) const override |
| |
| virtual void | Tvmult (const unsigned int level, VectorType &dst, const VectorType &src) const override |
| |
| virtual void | Tvmult_add (const unsigned int level, VectorType &dst, const VectorType &src) const override |
| |
| virtual unsigned int | get_minlevel () const override |
| |
| virtual unsigned int | get_maxlevel () const override |
| |
| std::size_t | memory_consumption () const |
| |
| virtual void | vmult (const unsigned int level, Vector< double > &dst, const Vector< double > &src) const=0 |
| |
| virtual void | vmult_add (const unsigned int level, Vector< double > &dst, const Vector< double > &src) const=0 |
| |
| virtual void | Tvmult (const unsigned int level, Vector< double > &dst, const Vector< double > &src) const=0 |
| |
| virtual void | Tvmult_add (const unsigned int level, Vector< double > &dst, const Vector< double > &src) const=0 |
| |
template<typename VectorType = Vector<double>>
class mg::Matrix< VectorType >
Multilevel matrix. This matrix stores an MGLevelObject of LinearOperator objects. It implements the interface defined in MGMatrixBase, so that it can be used as a matrix in Multigrid.
Definition at line 44 of file mg_matrix.h.
◆ Matrix() [1/2]
template<typename VectorType = Vector<double>>
Default constructor for an empty object.
◆ Matrix() [2/2]
template<typename VectorType >
template<typename MatrixType >
◆ initialize()
template<typename VectorType >
template<typename MatrixType >
Initialize the object such that the level multiplication uses the matrices in M
Definition at line 203 of file mg_matrix.h.
◆ reset()
template<typename VectorType >
◆ operator[]()
template<typename VectorType >
◆ vmult() [1/2]
template<typename VectorType >
| void mg::Matrix< VectorType >::vmult |
( |
const unsigned int |
level, |
|
|
VectorType & |
dst, |
|
|
const VectorType & |
src |
|
) |
| const |
|
overridevirtual |
◆ vmult_add() [1/2]
template<typename VectorType >
| void mg::Matrix< VectorType >::vmult_add |
( |
const unsigned int |
level, |
|
|
VectorType & |
dst, |
|
|
const VectorType & |
src |
|
) |
| const |
|
overridevirtual |
◆ Tvmult() [1/2]
template<typename VectorType >
| void mg::Matrix< VectorType >::Tvmult |
( |
const unsigned int |
level, |
|
|
VectorType & |
dst, |
|
|
const VectorType & |
src |
|
) |
| const |
|
overridevirtual |
◆ Tvmult_add() [1/2]
template<typename VectorType >
| void mg::Matrix< VectorType >::Tvmult_add |
( |
const unsigned int |
level, |
|
|
VectorType & |
dst, |
|
|
const VectorType & |
src |
|
) |
| const |
|
overridevirtual |
◆ get_minlevel()
template<typename VectorType >
◆ get_maxlevel()
template<typename VectorType >
◆ memory_consumption()
template<typename VectorType >
| std::size_t mg::Matrix< VectorType >::memory_consumption |
|
inline |
Memory used by this object.
Definition at line 311 of file mg_matrix.h.
◆ vmult() [2/2]
Matrix-vector-multiplication on a certain level.
◆ vmult_add() [2/2]
Adding matrix-vector-multiplication on a certain level.
◆ Tvmult() [2/2]
Transpose matrix-vector-multiplication on a certain level.
◆ Tvmult_add() [2/2]
Adding transpose matrix-vector-multiplication on a certain level.
◆ matrices
template<typename VectorType = Vector<double>>
The documentation for this class was generated from the following file: