
Public Member Functions | |
| Matrix () | |
| template<class MATRIX > | |
| Matrix (const MGLevelObject< MATRIX > &M) | |
| template<class MATRIX > | |
| void | initialize (const MGLevelObject< MATRIX > &M) |
| const PointerMatrixBase< VECTOR > & | operator[] (unsigned int level) const |
| virtual void | vmult (const unsigned int level, VECTOR &dst, const VECTOR &src) const |
| virtual void | vmult_add (const unsigned int level, VECTOR &dst, const VECTOR &src) const |
| virtual void | Tvmult (const unsigned int level, VECTOR &dst, const VECTOR &src) const |
| virtual void | Tvmult_add (const unsigned int level, VECTOR &dst, const VECTOR &src) const |
| unsigned int | memory_consumption () const |
Private Attributes | |
| MGLevelObject < std_cxx1x::shared_ptr < PointerMatrixBase< VECTOR > > > | matrices |
Multilevel matrix. This matrix stores an MGLevelObject of PointerMatrixBase objects. It implementes the interface defined in MGMatrixBase, so that it can be used as a matrix in Multigrid.
| mg::Matrix< VECTOR >::Matrix | ( | ) | [inline] |
Default constructor for an empty object.
| mg::Matrix< VECTOR >::Matrix | ( | const MGLevelObject< MATRIX > & | M | ) | [inline] |
Constructor setting up pointers to the matrices in M by calling initialize().
| void mg::Matrix< VECTOR >::initialize | ( | const MGLevelObject< MATRIX > & | M | ) | [inline] |
Initialize the object such that the level multiplication uses the matrices in M
References MGLevelObject< Object >::max_level(), and MGLevelObject< Object >::min_level().
| const PointerMatrixBase< VECTOR > & mg::Matrix< VECTOR >::operator[] | ( | unsigned int | level | ) | const [inline] |
Access matrix on a level.
| void mg::Matrix< VECTOR >::vmult | ( | const unsigned int | level, |
| VECTOR & | dst, | ||
| const VECTOR & | src | ||
| ) | const [virtual] |
Matrix-vector-multiplication on a certain level.
Implements MGMatrixBase< VECTOR >.
| void mg::Matrix< VECTOR >::vmult_add | ( | const unsigned int | level, |
| VECTOR & | dst, | ||
| const VECTOR & | src | ||
| ) | const [virtual] |
Adding matrix-vector-multiplication on a certain level.
Implements MGMatrixBase< VECTOR >.
| void mg::Matrix< VECTOR >::Tvmult | ( | const unsigned int | level, |
| VECTOR & | dst, | ||
| const VECTOR & | src | ||
| ) | const [virtual] |
Transpose matrix-vector-multiplication on a certain level.
Implements MGMatrixBase< VECTOR >.
| void mg::Matrix< VECTOR >::Tvmult_add | ( | const unsigned int | level, |
| VECTOR & | dst, | ||
| const VECTOR & | src | ||
| ) | const [virtual] |
Adding transpose matrix-vector-multiplication on a certain level.
Implements MGMatrixBase< VECTOR >.
| unsigned int mg::Matrix< VECTOR >::memory_consumption | ( | ) | const [inline] |
Memory used by this object.
MGLevelObject<std_cxx1x::shared_ptr<PointerMatrixBase<VECTOR> > > mg::Matrix< VECTOR >::matrices [private] |
documentation generated on Fri Aug 12 2011 15:01:09 by
doxygen
1.7.4