dune-istl
2.4.1
|
Abstract base class for transfer between levels and creation of the coarse level system. More...
#include <dune/istl/paamg/twolevelmethod.hh>
Public Types | |
typedef FO | FineOperatorType |
The linear operator of the finel level system. Has to be derived from AssembledLinearOperator. More... | |
typedef FineOperatorType::range_type | FineRangeType |
The type of the range of the fine level operator. More... | |
typedef FineOperatorType::domain_type | FineDomainType |
The type of the domain of the fine level operator. More... | |
typedef CO | CoarseOperatorType |
The linear operator of the finel level system. Has to be derived from AssembledLinearOperator. More... | |
typedef CoarseOperatorType::range_type | CoarseRangeType |
The type of the range of the coarse level operator. More... | |
typedef CoarseOperatorType::domain_type | CoarseDomainType |
The type of the domain of the coarse level operator. More... | |
Public Member Functions | |
std::shared_ptr < CoarseOperatorType > & | getCoarseLevelOperator () |
Get the coarse level operator. More... | |
CoarseRangeType & | getCoarseLevelRhs () |
Get the coarse level right hand side. More... | |
CoarseDomainType & | getCoarseLevelLhs () |
Get the coarse level left hand side. More... | |
virtual void | moveToCoarseLevel (const FineRangeType &fineRhs)=0 |
Transfers the data to the coarse level. More... | |
virtual void | moveToFineLevel (FineDomainType &fineLhs)=0 |
Updates the fine level linear system after the correction of the coarse levels system. More... | |
virtual void | createCoarseLevelSystem (const FineOperatorType &fineOperator)=0 |
Algebraically creates the coarse level system. More... | |
virtual LevelTransferPolicy * | clone () const =0 |
Clone the current object. More... | |
virtual | ~LevelTransferPolicy () |
Destructor. More... | |
Protected Attributes | |
CoarseRangeType | rhs_ |
The coarse level rhs. More... | |
CoarseDomainType | lhs_ |
The coarse level lhs. More... | |
std::shared_ptr < CoarseOperatorType > | operator_ |
the coarse level linear operator. More... | |
Abstract base class for transfer between levels and creation of the coarse level system.
FO | The type of the linear operator of the finel level system. Has to be derived from AssembledLinearOperator. |
CO | The type of the linear operator of the coarse level system. Has to be derived from AssembledLinearOperator. |
typedef CoarseOperatorType::domain_type Dune::Amg::LevelTransferPolicy< FO, CO >::CoarseDomainType |
The type of the domain of the coarse level operator.
typedef CO Dune::Amg::LevelTransferPolicy< FO, CO >::CoarseOperatorType |
The linear operator of the finel level system. Has to be derived from AssembledLinearOperator.
typedef CoarseOperatorType::range_type Dune::Amg::LevelTransferPolicy< FO, CO >::CoarseRangeType |
The type of the range of the coarse level operator.
typedef FineOperatorType::domain_type Dune::Amg::LevelTransferPolicy< FO, CO >::FineDomainType |
The type of the domain of the fine level operator.
typedef FO Dune::Amg::LevelTransferPolicy< FO, CO >::FineOperatorType |
The linear operator of the finel level system. Has to be derived from AssembledLinearOperator.
typedef FineOperatorType::range_type Dune::Amg::LevelTransferPolicy< FO, CO >::FineRangeType |
The type of the range of the fine level operator.
|
inlinevirtual |
Destructor.
|
pure virtual |
Clone the current object.
Implemented in Dune::Amg::AggregationLevelTransferPolicy< O, C >.
Referenced by Dune::Amg::TwoLevelMethod< FO, CSP, S >::TwoLevelMethod().
|
pure virtual |
Algebraically creates the coarse level system.
After returning from this function the coarse level operator can be accessed using getCoarseLevelOperator().
fineOperator | The operator of the fine level system. |
Implemented in Dune::Amg::AggregationLevelTransferPolicy< O, C >.
Referenced by Dune::Amg::TwoLevelMethod< FO, CSP, S >::TwoLevelMethod().
|
inline |
Get the coarse level left hand side.
Referenced by Dune::Amg::TwoLevelMethod< FO, CSP, S >::apply().
|
inline |
Get the coarse level operator.
|
inline |
Get the coarse level right hand side.
Referenced by Dune::Amg::TwoLevelMethod< FO, CSP, S >::apply().
|
pure virtual |
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().
fineDefect | The current residual of the fine level system. |
Referenced by Dune::Amg::TwoLevelMethod< FO, CSP, S >::apply().
|
pure virtual |
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.
[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 >.
Referenced by Dune::Amg::TwoLevelMethod< FO, CSP, S >::apply().
|
protected |
The coarse level lhs.
Referenced by Dune::Amg::LevelTransferPolicy< O, O >::getCoarseLevelLhs().
|
protected |
the coarse level linear operator.
Referenced by Dune::Amg::LevelTransferPolicy< O, O >::getCoarseLevelOperator().
|
protected |
The coarse level rhs.
Referenced by Dune::Amg::LevelTransferPolicy< O, O >::getCoarseLevelRhs().