dune-istl  2.3beta2
Classes | Public Types | Public Member Functions | List of all members
Dune::Amg::OneStepAMGCoarseSolverPolicy< O, S, C > Class Template Reference

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

#include <dune/istl/paamg/twolevelmethod.hh>

Classes

struct  AMGInverseOperator
 A wrapper that makes an inverse operator out of AMG.

Public Types

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

Public Member Functions

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

Detailed Description

template<class O, class S, class C>
class Dune::Amg::OneStepAMGCoarseSolverPolicy< 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

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

The type of the AMG construct on the coarse level.

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

The type of solver constructed for the coarse level.

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

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

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

The type of the linear operator used.

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

The type of the smoother used in AMG.

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

The type of the arguments used for constructing the smoother.

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

The type of the range and domain of the operator.

Constructor & Destructor Documentation

template<class O , class S , class C >
Dune::Amg::OneStepAMGCoarseSolverPolicy< O, S, C >::OneStepAMGCoarseSolverPolicy ( 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.
template<class O , class S , class C >
Dune::Amg::OneStepAMGCoarseSolverPolicy< O, S, C >::OneStepAMGCoarseSolverPolicy ( const OneStepAMGCoarseSolverPolicy< O, S, C > &  other)
inline

Copy constructor.

Member Function Documentation

template<class O , class S , class C >
template<class P >
CoarseLevelSolver* Dune::Amg::OneStepAMGCoarseSolverPolicy< 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: