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

An AMG. More...

#include <elasticity_preconditioners.hpp>

Public Types

typedef Dune::Amg::FirstDiagonal CouplingMetric
 The coupling metric used in the AMG. More...
 
typedef Dune::Amg::SymmetricCriterion< Matrix, CouplingMetricCritBase
 The coupling criterion used in the AMG. More...
 
typedef Dune::Amg::CoarsenCriterion< CritBaseCriterion
 The coarsening criterion used in the AMG. More...
 
typedef Dune::Amg::AMG< Operator, Vector, Smoothertype
 

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 &, ASMHandler< Dune::CpGrid > &, bool &copy)
 Setup preconditioner. More...
 

Detailed Description

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

An AMG.

Member Typedef Documentation

◆ CouplingMetric

template<class Smoother >
typedef Dune::Amg::FirstDiagonal Opm::Elasticity::AMG1< Smoother >::CouplingMetric

The coupling metric used in the AMG.

◆ CritBase

template<class Smoother >
typedef Dune::Amg::SymmetricCriterion<Matrix, CouplingMetric> Opm::Elasticity::AMG1< Smoother >::CritBase

The coupling criterion used in the AMG.

◆ Criterion

template<class Smoother >
typedef Dune::Amg::CoarsenCriterion<CritBase> Opm::Elasticity::AMG1< Smoother >::Criterion

The coarsening criterion used in the AMG.

◆ type

template<class Smoother >
typedef Dune::Amg::AMG<Operator, Vector, Smoother> Opm::Elasticity::AMG1< Smoother >::type

Member Function Documentation

◆ setup()

template<class Smoother >
static std::shared_ptr< type > Opm::Elasticity::AMG1< Smoother >::setup ( int  pre,
int  post,
int  target,
int  zcells,
std::shared_ptr< Operator > &  op,
const Dune::CpGrid &  ,
ASMHandler< Dune::CpGrid > &  ,
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

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


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