Opm::Elasticity::AMG2Level< Smoother > Struct Template Reference

A two-level method with a coarse AMG solver. More...

#include <elasticity_preconditioners.hpp>

Public Types

typedef Dune::Amg::AggregationLevelTransferPolicy< Operator, typename AMG1< Smoother >::Criterion > TransferPolicy
 AMG transfer policy. More...
 
typedef Dune::Amg::LevelTransferPolicy< Operator, OperatorLevelTransferPolicy
 
typedef Dune::Amg::OneStepAMGCoarseSolverPolicy< Operator, Smoother, typename AMG1< Smoother >::Criterion > CoarsePolicy
 
typedef Dune::Amg::SmootherTraits< Smoother >::Arguments SmootherArgs
 
typedef Dune::Amg::TwoLevelMethod< Operator, CoarsePolicy, Schwarz::typetype
 

Static Public Member Functions

static std::shared_ptr< typesetup (int pre, int post, int target, int zcells, std::shared_ptr< Operator > &op, const Dune::CpGrid &gv, ASMHandler< Dune::CpGrid > &A, bool &copy)
 Setup preconditioner. More...
 

Detailed Description

template<class Smoother>
struct Opm::Elasticity::AMG2Level< Smoother >

A two-level method with a coarse AMG solver.

Member Typedef Documentation

◆ CoarsePolicy

template<class Smoother >
typedef Dune::Amg::OneStepAMGCoarseSolverPolicy<Operator, Smoother, typename AMG1<Smoother>::Criterion> Opm::Elasticity::AMG2Level< Smoother >::CoarsePolicy

◆ LevelTransferPolicy

template<class Smoother >
typedef Dune::Amg::LevelTransferPolicy<Operator, Operator> Opm::Elasticity::AMG2Level< Smoother >::LevelTransferPolicy

◆ SmootherArgs

template<class Smoother >
typedef Dune::Amg::SmootherTraits<Smoother>::Arguments Opm::Elasticity::AMG2Level< Smoother >::SmootherArgs

◆ TransferPolicy

template<class Smoother >
typedef Dune::Amg::AggregationLevelTransferPolicy<Operator, typename AMG1<Smoother>::Criterion> Opm::Elasticity::AMG2Level< Smoother >::TransferPolicy

AMG transfer policy.

◆ type

template<class Smoother >
typedef Dune::Amg::TwoLevelMethod<Operator, CoarsePolicy, Schwarz::type> Opm::Elasticity::AMG2Level< Smoother >::type

Member Function Documentation

◆ setup()

template<class Smoother >
static std::shared_ptr< type > Opm::Elasticity::AMG2Level< Smoother >::setup ( int  pre,
int  post,
int  target,
int  zcells,
std::shared_ptr< Operator > &  op,
const Dune::CpGrid &  gv,
ASMHandler< Dune::CpGrid > &  A,
bool &  copy 
)
inlinestatic

Setup preconditioner.

Parameters
[in]preThe number of pre-smoothing steps
[in]postThe number of post-smoothing steps
[in]targetThe coarsening target
[in]zcellsThe wanted number of cells to collapse in z per level
[in]opThe linear operator
[in]gvThe cornerpoint grid
[out]threadWhether or not to clone for threads

References Opm::Elasticity::Schwarz::setup2().

Referenced by Opm::Elasticity::if().


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