An AMG. More...
#include <elasticity_preconditioners.hpp>
Public Types | |
typedef Dune::Amg::FirstDiagonal | CouplingMetric |
The coupling metric used in the AMG. | |
typedef Dune::Amg::SymmetricCriterion < Matrix, CouplingMetric > | CritBase |
The coupling criterion used in the AMG. | |
typedef Dune::Amg::CoarsenCriterion < CritBase > | Criterion |
The coarsening criterion used in the AMG. | |
typedef Dune::Amg::AMG < Operator, Vector, Smoother > | type |
Static Public Member Functions | |
static std::shared_ptr< type > | setup (int pre, int post, int target, int zcells, std::shared_ptr< Operator > &op, const Dune::CpGrid &, ASMHandler< Dune::CpGrid > &, bool ©) |
Setup preconditioner. More... | |
An AMG.
|
inlinestatic |
Setup preconditioner.
[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 |