Opm::Elasticity::Schwarz Struct Reference

Overlapping Schwarz preconditioner. More...

#include <elasticity_preconditioners.hpp>

Public Types

typedef Dune::SeqOverlappingSchwarz< Matrix, Vector, Dune::SymmetricMultiplicativeSchwarzMode, LUSolver > type
 

Static Public Member Functions

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

Detailed Description

Overlapping Schwarz preconditioner.

Member Typedef Documentation

◆ type

typedef Dune::SeqOverlappingSchwarz<Matrix, Vector, Dune::SymmetricMultiplicativeSchwarzMode, LUSolver> Opm::Elasticity::Schwarz::type

Member Function Documentation

◆ setup()

static std::shared_ptr< type > Opm::Elasticity::Schwarz::setup ( int  ,
int  ,
int  ,
int  ,
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 setup2().

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

◆ setup2()

static type * Opm::Elasticity::Schwarz::setup2 ( std::shared_ptr< Operator > &  op,
const Dune::CpGrid &  gv,
ASMHandler< Dune::CpGrid > &  A,
bool &  copy 
)
static

Setup preconditioner.

Parameters
[in]opThe linear operator
[in]gvThe cornerpoint grid
[in]AThe ASMHandler for the elasticity operator(s)
[out]copyWhether or not to clone for threads

Referenced by Opm::Elasticity::AMG2Level< Smoother >::setup(), and setup().


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