My Project
Opm::PressureBhpTransferPolicy< FineOperator, Communication, transpose > Class Template Reference
Inheritance diagram for Opm::PressureBhpTransferPolicy< FineOperator, Communication, transpose >:
Dune::Amg::LevelTransferPolicyCpr< FineOperator, Details::CoarseOperatorType< Communication > >

Public Types

typedef Details::CoarseOperatorType< Communication > CoarseOperator
 
typedef Dune::Amg::LevelTransferPolicyCpr< FineOperator, CoarseOperator > ParentType
 
typedef Communication ParallelInformation
 
typedef FineOperator::domain_type FineVectorType
 
- Public Types inherited from Dune::Amg::LevelTransferPolicyCpr< FineOperator, Details::CoarseOperatorType< Communication > >
typedef FineOperator FineOperatorType
 The linear operator of the finel level system. More...
 
typedef FineOperatorType::range_type FineRangeType
 The type of the range of the fine level operator.
 
typedef FineOperatorType::domain_type FineDomainType
 The type of the domain of the fine level operator.
 
typedef Details::CoarseOperatorType< Communication > CoarseOperatorType
 The linear operator of the finel level system. More...
 
typedef CoarseOperatorType::range_type CoarseRangeType
 The type of the range of the coarse level operator.
 
typedef CoarseOperatorType::domain_type CoarseDomainType
 The type of the domain of the coarse level operator.
 

Public Member Functions

 PressureBhpTransferPolicy (const Communication &comm, const FineVectorType &weights, const Opm::PropertyTree &prm, const std::size_t pressureIndex)
 
virtual void createCoarseLevelSystem (const FineOperator &fineOperator) override
 Algebraically creates the coarse level system. More...
 
virtual void calculateCoarseEntries (const FineOperator &fineOperator) override
 ???.
 
virtual void moveToCoarseLevel (const typename ParentType::FineRangeType &fine) override
 
virtual void moveToFineLevel (typename ParentType::FineDomainType &fine) override
 Updates the fine level linear system after the correction of the coarse levels system. More...
 
virtual PressureBhpTransferPolicyclone () const override
 Clone the current object.
 
const Communication & getCoarseLevelCommunication () const
 
- Public Member Functions inherited from Dune::Amg::LevelTransferPolicyCpr< FineOperator, Details::CoarseOperatorType< Communication > >
std::shared_ptr< CoarseOperatorType > & getCoarseLevelOperator ()
 Get the coarse level operator. More...
 
CoarseRangeTypegetCoarseLevelRhs ()
 Get the coarse level right hand side. More...
 
CoarseDomainTypegetCoarseLevelLhs ()
 Get the coarse level left hand side. More...
 
virtual void moveToCoarseLevel (const FineRangeType &fineRhs)=0
 Transfers the data to the coarse level. More...
 
virtual ~LevelTransferPolicyCpr ()
 Destructor.
 

Additional Inherited Members

- Protected Attributes inherited from Dune::Amg::LevelTransferPolicyCpr< FineOperator, Details::CoarseOperatorType< Communication > >
CoarseRangeType rhs_
 The coarse level rhs.
 
CoarseDomainType lhs_
 The coarse level lhs.
 
std::shared_ptr< CoarseOperatorTypeoperator_
 the coarse level linear operator.
 

Member Function Documentation

◆ createCoarseLevelSystem()

template<class FineOperator , class Communication , bool transpose = false>
virtual void Opm::PressureBhpTransferPolicy< FineOperator, Communication, transpose >::createCoarseLevelSystem ( const FineOperator &  fineOperator)
inlineoverridevirtual

Algebraically creates the coarse level system.

After returning from this function the coarse level operator can be accessed using getCoarseLevelOperator().

Parameters
fineOperatorThe operator of the fine level system.

Implements Dune::Amg::LevelTransferPolicyCpr< FineOperator, Details::CoarseOperatorType< Communication > >.

◆ moveToFineLevel()

template<class FineOperator , class Communication , bool transpose = false>
virtual void Opm::PressureBhpTransferPolicy< FineOperator, Communication, transpose >::moveToFineLevel ( typename ParentType::FineDomainType fineLhs)
inlineoverridevirtual

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]fineLhsThe left hand side of the fine level to update with the coarse level correction.

Implements Dune::Amg::LevelTransferPolicyCpr< FineOperator, Details::CoarseOperatorType< Communication > >.


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