Opm::Elasticity::FastAMG Struct Reference

A FastAMG. More...

#include <elasticity_preconditioners.hpp>

Public Types

typedef Dune::Amg::FastAMG< Operator, Vectortype
 

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

Member Typedef Documentation

◆ type

typedef Dune::Amg::FastAMG<Operator, Vector> Opm::Elasticity::FastAMG::type

Member Function Documentation

◆ setup()

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

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

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