Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
TransferOperatorAssembler< GridType > Class Template Reference

Assembler for a hierarchy of multigrid transfer operators. More...

#include <dune/fufem/assemblers/transferoperatorassembler.hh>

Public Member Functions

 TransferOperatorAssembler (const GridType &grid)
 
template<class TransferOperator >
void assembleOperatorHierarchy (std::vector< TransferOperator > &T) const
 
template<class TransferOperator , class RealTransferOperator >
void assembleDerivedOperatorPointerHierarchy (std::vector< TransferOperator * > &T) const
 
template<class TransferOperator >
void assembleOperatorPointerHierarchy (std::vector< TransferOperator * > &T) const
 
template<class Matrix >
void assembleMatrixHierarchy (std::vector< std::shared_ptr< Matrix > > &M) const
 assemble hierarchy of transfer operators for P1 elements
 
template<class Matrix >
void assembleMatrixHierarchy (std::vector< Matrix * > &T) const
 assemble hierarchy of transfer operators for P1 elements
 

Detailed Description

template<class GridType>
class TransferOperatorAssembler< GridType >

Assembler for a hierarchy of multigrid transfer operators.

Constructor & Destructor Documentation

◆ TransferOperatorAssembler()

template<class GridType >
TransferOperatorAssembler< GridType >::TransferOperatorAssembler ( const GridType &  grid)
inline

Member Function Documentation

◆ assembleDerivedOperatorPointerHierarchy()

template<class GridType >
template<class TransferOperator , class RealTransferOperator >
void TransferOperatorAssembler< GridType >::assembleDerivedOperatorPointerHierarchy ( std::vector< TransferOperator * > &  T) const
inline

◆ assembleMatrixHierarchy() [1/2]

template<class GridType >
template<class Matrix >
void TransferOperatorAssembler< GridType >::assembleMatrixHierarchy ( std::vector< Matrix * > &  T) const
inline

assemble hierarchy of transfer operators for P1 elements

Parameters
Tstd::vector of pointers to matrices for interpolation operators

The vector is required to have grid.maxLevel() entries pointing to already allocated matrices.

◆ assembleMatrixHierarchy() [2/2]

template<class GridType >
template<class Matrix >
void TransferOperatorAssembler< GridType >::assembleMatrixHierarchy ( std::vector< std::shared_ptr< Matrix > > &  M) const
inline

assemble hierarchy of transfer operators for P1 elements

Parameters
Mstd::vector of shared_ptr's to matrices for interpolation operators

If the vector's size is smaller than grid.maxLevel(), then it is filled up with newly allocated matrices.

◆ assembleOperatorHierarchy()

template<class GridType >
template<class TransferOperator >
void TransferOperatorAssembler< GridType >::assembleOperatorHierarchy ( std::vector< TransferOperator > &  T) const
inline

◆ assembleOperatorPointerHierarchy()

template<class GridType >
template<class TransferOperator >
void TransferOperatorAssembler< GridType >::assembleOperatorPointerHierarchy ( std::vector< TransferOperator * > &  T) const
inline

The documentation for this class was generated from the following file: