Abstract base class for transfer between levels and creation of the coarse level system.
More...
#include <dune/istl/paamg/twolevelmethod.hh>
template<class FO, class CO>
class Dune::Amg::LevelTransferPolicy< FO, CO >
Abstract base class for transfer between levels and creation of the coarse level system.
- Template Parameters
-
◆ CoarseDomainType
template<class FO , class CO >
The type of the domain of the coarse level operator.
◆ CoarseOperatorType
template<class FO , class CO >
◆ CoarseRangeType
template<class FO , class CO >
The type of the range of the coarse level operator.
◆ FineDomainType
template<class FO , class CO >
The type of the domain of the fine level operator.
◆ FineOperatorType
template<class FO , class CO >
◆ FineRangeType
template<class FO , class CO >
The type of the range of the fine level operator.
◆ ~LevelTransferPolicy()
template<class FO , class CO >
◆ clone()
template<class FO , class CO >
Clone the current object.
◆ createCoarseLevelSystem()
template<class FO , class CO >
◆ getCoarseLevelLhs()
template<class FO , class CO >
Get the coarse level left hand side.
- Returns
- The coarse level leftt hand side.
◆ getCoarseLevelOperator()
template<class FO , class CO >
Get the coarse level operator.
- Returns
- A shared pointer to the coarse level system.
◆ getCoarseLevelRhs()
template<class FO , class CO >
Get the coarse level right hand side.
- Returns
- The coarse level right hand side.
◆ moveToCoarseLevel()
template<class FO , class CO >
Transfers the data to the coarse level.
Restricts the residual to the right hand side of the coarse level system and initialies the left hand side of the coarse level system. These can afterwards be accessed usinf getCoarseLevelRhs() and getCoarseLevelLhs().
- Parameters
-
fineDefect | The current residual of the fine level system. |
◆ moveToFineLevel()
template<class FO , class CO >
Updates the fine level linear system after the correction of the coarse levels system.
After returning from this function the coarse level correction will have been added to fine level system.
- Parameters
-
[in,out] | fineLhs | The left hand side of the fine level to update with the coarse level correction. |
Implemented in Dune::Amg::AggregationLevelTransferPolicy< O, C >.
◆ lhs_
template<class FO , class CO >
◆ operator_
template<class FO , class CO >
the coarse level linear operator.
◆ rhs_
template<class FO , class CO >
The documentation for this class was generated from the following file: