Dune::Amg::PressureSolverPolicy< OperatorType, Solver, LevelTransferPolicy > Class Template Reference

#include <PressureSolverPolicy.hpp>

Inheritance diagram for Dune::Amg::PressureSolverPolicy< OperatorType, Solver, LevelTransferPolicy >:
Inheritance graph

Public Types

using Operator = OperatorType
 The type of the linear operator used. More...
 
using CoarseLevelSolver = PressureInverseOperator
 The type of solver constructed for the coarse level. More...
 

Public Member Functions

 PressureSolverPolicy (const Opm::PropertyTree &prm)
 Constructs the coarse solver policy. More...
 
template<class LTP >
void setCoarseOperator (LTP &transferPolicy)
 Constructs a coarse level solver. More...
 
template<class LTP >
CoarseLevelSolvercreateCoarseLevelSolver (LTP &transferPolicy)
 

Member Typedef Documentation

◆ CoarseLevelSolver

template<class OperatorType , class Solver , class LevelTransferPolicy >
using Dune::Amg::PressureSolverPolicy< OperatorType, Solver, LevelTransferPolicy >::CoarseLevelSolver = PressureInverseOperator

The type of solver constructed for the coarse level.

◆ Operator

template<class OperatorType , class Solver , class LevelTransferPolicy >
using Dune::Amg::PressureSolverPolicy< OperatorType, Solver, LevelTransferPolicy >::Operator = OperatorType

The type of the linear operator used.

Constructor & Destructor Documentation

◆ PressureSolverPolicy()

template<class OperatorType , class Solver , class LevelTransferPolicy >
Dune::Amg::PressureSolverPolicy< OperatorType, Solver, LevelTransferPolicy >::PressureSolverPolicy ( const Opm::PropertyTree prm)
inlineexplicit

Constructs the coarse solver policy.

Parameters
prmParameter tree specifying the solver details.

Member Function Documentation

◆ createCoarseLevelSolver()

template<class OperatorType , class Solver , class LevelTransferPolicy >
template<class LTP >
CoarseLevelSolver * Dune::Amg::PressureSolverPolicy< OperatorType, Solver, LevelTransferPolicy >::createCoarseLevelSolver ( LTP &  transferPolicy)
inline

◆ setCoarseOperator()

template<class OperatorType , class Solver , class LevelTransferPolicy >
template<class LTP >
void Dune::Amg::PressureSolverPolicy< OperatorType, Solver, LevelTransferPolicy >::setCoarseOperator ( LTP &  transferPolicy)
inline

Constructs a coarse level solver.

Parameters
transferPolicyThe policy describing the transfer between levels.
Returns
A pointer to the constructed coarse level solver.

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