
Public Member Functions | |
| MGMatrix (MGLevelObject< MATRIX > *=0) | |
| void | set_matrix (MGLevelObject< MATRIX > *M) |
| 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 | |
| SmartPointer< MGLevelObject < MATRIX >, MGMatrix< MATRIX, VECTOR > > | matrix |
Multilevel matrix. This class implements the interface defined by MGMatrixBase, using MGLevelObject of an arbitrary matrix class.
| MGMatrix< MATRIX, VECTOR >::MGMatrix | ( | MGLevelObject< MATRIX > * | p = 0 | ) |
Constructor. The argument is handed over to the SmartPointer constructor. The matrix object must exist longer as the MGMatrix object, since only a pointer is stored.
| void MGMatrix< MATRIX, VECTOR >::set_matrix | ( | MGLevelObject< MATRIX > * | M | ) |
Set the matrix object to be used. The matrix object must exist longer as the MGMatrix object, since only a pointer is stored.
References LAPACKSupport::matrix.
| void MGMatrix< MATRIX, VECTOR >::vmult | ( | const unsigned int | level, |
| VECTOR & | dst, | ||
| const VECTOR & | src | ||
| ) | const [virtual] |
Matrix-vector-multiplication on a certain level.
Implements MGMatrixBase< VECTOR >.
References Assert, StandardExceptions::ExcNotInitialized(), and LAPACKSupport::matrix.
| void MGMatrix< 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 >.
References Assert, StandardExceptions::ExcNotInitialized(), and LAPACKSupport::matrix.
| void MGMatrix< 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 >.
References Assert, StandardExceptions::ExcNotInitialized(), and LAPACKSupport::matrix.
| void MGMatrix< 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 >.
References Assert, StandardExceptions::ExcNotInitialized(), and LAPACKSupport::matrix.
| unsigned int MGMatrix< MATRIX, VECTOR >::memory_consumption | ( | ) | const |
Memory used by this object.
References LAPACKSupport::matrix.
SmartPointer<MGLevelObject<MATRIX>,MGMatrix<MATRIX,VECTOR> > MGMatrix< MATRIX, VECTOR >::matrix [private] |
Pointer to the matrix objects on each level.
documentation generated on Fri Aug 12 2011 15:01:05 by
doxygen
1.7.4