16 #ifndef dealii_mg_matrix_h 17 #define dealii_mg_matrix_h 46 template <
typename VectorType = Vector<
double>>
59 template <
typename MatrixType>
66 template <
typename MatrixType>
82 vmult(
const unsigned int level,
90 Tvmult(
const unsigned int level,
125 template <
typename MatrixType,
typename number>
134 const unsigned int col = 0,
148 select_block(
const unsigned int row,
const unsigned int col);
170 Tvmult(
const unsigned int level,
204 template <
typename VectorType>
205 template <
typename MatrixType>
222 template <
typename VectorType>
231 template <
typename VectorType>
232 template <
typename MatrixType>
240 template <
typename VectorType>
249 template <
typename VectorType>
260 template <
typename VectorType>
271 template <
typename VectorType>
282 template <
typename VectorType>
293 template <
typename VectorType>
302 template <
typename VectorType>
311 template <
typename VectorType>
322 template <
typename MatrixType,
typename number>
324 const unsigned int col,
326 :
matrix(p, typeid(*this).name())
333 template <
typename MatrixType,
typename number>
342 template <
typename MatrixType,
typename number>
345 const unsigned int bcol)
353 template <
typename MatrixType,
typename number>
367 template <
typename MatrixType,
typename number>
381 template <
typename MatrixType,
typename number>
395 template <
typename MatrixType,
typename number>
unsigned int max_level() const
MGMatrixSelect(const unsigned int row=0, const unsigned int col=0, MGLevelObject< MatrixType > *matrix=0)
Contents is actually a matrix.
virtual void vmult_add(const unsigned int level, Vector< number > &dst, const Vector< number > &src) const
virtual void Tvmult(const unsigned int level, Vector< number > &dst, const Vector< number > &src) const
virtual void Tvmult(const unsigned int level, VectorType &dst, const VectorType &src) const override
void select_block(const unsigned int row, const unsigned int col)
void set_matrix(MGLevelObject< MatrixType > *M)
static ::ExceptionBase & ExcNotInitialized()
std::size_t memory_consumption() const
unsigned int min_level() const
const LinearOperator< VectorType > & operator[](unsigned int level) const
virtual void vmult(const unsigned int level, VectorType &dst, const VectorType &src) const override
MGLevelObject< LinearOperator< VectorType > > matrices
#define Assert(cond, exc)
#define DEAL_II_NAMESPACE_CLOSE
void initialize(const MGLevelObject< MatrixType > &M)
virtual unsigned int get_maxlevel() const override
#define DEAL_II_NAMESPACE_OPEN
SmartPointer< MGLevelObject< MatrixType >, MGMatrixSelect< MatrixType, number > > matrix
virtual unsigned int get_minlevel() const override
void resize(const unsigned int new_minlevel, const unsigned int new_maxlevel)
virtual void vmult_add(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 void vmult(const unsigned int level, Vector< number > &dst, const Vector< number > &src) const
virtual void Tvmult_add(const unsigned int level, Vector< number > &dst, const Vector< number > &src) const
std::size_t memory_consumption() const