Overlapping Schwarz preconditioner.
More...
#include <elasticity_preconditioners.hpp>
|
typedef Dune::SeqOverlappingSchwarz< Matrix, Vector, Dune::SymmetricMultiplicativeSchwarzMode, LUSolver > | type |
|
|
static std::shared_ptr< type > | setup (int, int, int, int, std::shared_ptr< Operator > &op, const Dune::CpGrid &gv, ASMHandler< Dune::CpGrid > &A, bool ©) |
| Setup preconditioner. More...
|
|
static type * | setup2 (std::shared_ptr< Operator > &op, const Dune::CpGrid &gv, ASMHandler< Dune::CpGrid > &A, bool ©) |
| Setup preconditioner. More...
|
|
Overlapping Schwarz preconditioner.
◆ type
◆ 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] | pre | The number of pre-smoothing steps |
[in] | post | The number of post-smoothing steps |
[in] | target | The coarsening target |
[in] | zcells | The wanted number of cells to collapse in z per level |
[in] | op | The linear operator |
[in] | gv | The cornerpoint grid |
[out] | thread | Whether 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 |
The documentation for this struct was generated from the following file: