Dune Core Modules (2.5.0)

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>

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, SmootherAMGType
 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. More...
 
 OneStepAMGCoarseSolverPolicy (const OneStepAMGCoarseSolverPolicy &other)
 Copy constructor.
 
template<class P >
CoarseLevelSolvercreateCoarseLevelSolver (P &transferPolicy)
 Constructs a coarse level solver. More...
 

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.

Constructor & Destructor Documentation

◆ OneStepAMGCoarseSolverPolicy()

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.

Member Function Documentation

◆ createCoarseLevelSolver()

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:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)