Dune::Amg::OneStepAMGCoarseSolverPolicyCpr< O, S, C > Class Template Reference

A policy class for solving the coarse level system using one step of AMG. More...

#include <twolevelmethodcpr.hh>

Public Types

typedef O Operator
 The type of the linear operator used. More...
 
typedef O::range_type X
 The type of the range and domain of the operator. More...
 
typedef C Criterion
 The type of the crition used for the aggregation within AMG. More...
 
typedef S Smoother
 The type of the smoother used in AMG. More...
 
typedef Dune::Amg::SmootherTraits< S >::Arguments SmootherArgs
 The type of the arguments used for constructing the smoother. More...
 
typedef AMG< Operator, X, SmootherAMGType
 The type of the AMG construct on the coarse level. More...
 
typedef AMGInverseOperator CoarseLevelSolver
 The type of solver constructed for the coarse level. More...
 

Public Member Functions

 OneStepAMGCoarseSolverPolicyCpr (const SmootherArgs &args, const Criterion &c)
 Constructs the coarse solver policy. More...
 
 OneStepAMGCoarseSolverPolicyCpr (const OneStepAMGCoarseSolverPolicyCpr &other)
 Copy constructor. More...
 
template<class P >
CoarseLevelSolvercreateCoarseLevelSolver (P &transferPolicy)
 Constructs a coarse level solver. More...
 

Detailed Description

template<class O, class S, class C>
class Dune::Amg::OneStepAMGCoarseSolverPolicyCpr< O, S, C >

A policy class for solving the coarse level system using one step of AMG.

Template Parameters
OThe type of the linear operator used.
SThe type of the smoother used in AMG.
CThe type of the crition used for the aggregation within AMG.

Member Typedef Documentation

◆ AMGType

template<class O , class S , class C >
typedef AMG<Operator,X,Smoother> Dune::Amg::OneStepAMGCoarseSolverPolicyCpr< O, S, C >::AMGType

The type of the AMG construct on the coarse level.

◆ CoarseLevelSolver

template<class O , class S , class C >
typedef AMGInverseOperator Dune::Amg::OneStepAMGCoarseSolverPolicyCpr< O, S, C >::CoarseLevelSolver

The type of solver constructed for the coarse level.

◆ Criterion

template<class O , class S , class C >
typedef C Dune::Amg::OneStepAMGCoarseSolverPolicyCpr< O, S, C >::Criterion

The type of the crition used for the aggregation within AMG.

◆ Operator

template<class O , class S , class C >
typedef O Dune::Amg::OneStepAMGCoarseSolverPolicyCpr< O, S, C >::Operator

The type of the linear operator used.

◆ Smoother

template<class O , class S , class C >
typedef S Dune::Amg::OneStepAMGCoarseSolverPolicyCpr< O, S, C >::Smoother

The type of the smoother used in AMG.

◆ SmootherArgs

template<class O , class S , class C >
typedef Dune::Amg::SmootherTraits<S>::Arguments Dune::Amg::OneStepAMGCoarseSolverPolicyCpr< O, S, C >::SmootherArgs

The type of the arguments used for constructing the smoother.

◆ X

template<class O , class S , class C >
typedef O::range_type Dune::Amg::OneStepAMGCoarseSolverPolicyCpr< O, S, C >::X

The type of the range and domain of the operator.

Constructor & Destructor Documentation

◆ OneStepAMGCoarseSolverPolicyCpr() [1/2]

template<class O , class S , class C >
Dune::Amg::OneStepAMGCoarseSolverPolicyCpr< O, S, C >::OneStepAMGCoarseSolverPolicyCpr ( const SmootherArgs args,
const Criterion c 
)
inline

Constructs the coarse solver policy.

Parameters
argsThe arguments used for constructing the smoother.
cThe crition used for the aggregation within AMG.

◆ OneStepAMGCoarseSolverPolicyCpr() [2/2]

template<class O , class S , class C >
Dune::Amg::OneStepAMGCoarseSolverPolicyCpr< O, S, C >::OneStepAMGCoarseSolverPolicyCpr ( const OneStepAMGCoarseSolverPolicyCpr< O, S, C > &  other)
inline

Copy constructor.

Member Function Documentation

◆ createCoarseLevelSolver()

template<class O , class S , class C >
template<class P >
CoarseLevelSolver * Dune::Amg::OneStepAMGCoarseSolverPolicyCpr< O, S, C >::createCoarseLevelSolver ( P &  transferPolicy)
inline

Constructs a coarse level solver.

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

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