Dune Core Modules (2.9.1)
Dune::Amg::CoarseningParameters Class Reference
Parameters for the complete coarsening process. More...
#include <dune/istl/paamg/parameters.hh>
Public Member Functions | |
void | setMaxLevel (int l) |
Set the maximum number of levels allowed in the hierarchy. | |
int | maxLevel () const |
Get the maximum number of levels allowed in the hierarchy. | |
void | setCoarsenTarget (int nodes) |
Set the maximum number of unknowns allowed on the coarsest level. | |
int | coarsenTarget () const |
Get the maximum number of unknowns allowed on the coarsest level. | |
void | setMinCoarsenRate (double rate) |
Set the minimum coarsening rate to be achieved in each coarsening. More... | |
double | minCoarsenRate () const |
Get the minimum coarsening rate to be achieved. | |
AccumulationMode | accumulate () const |
Whether the data should be accumulated on fewer processes on coarser levels. | |
void | setAccumulate (AccumulationMode accu) |
Set whether he data should be accumulated on fewer processes on coarser levels. | |
void | setProlongationDampingFactor (double d) |
Set the damping factor for the prolongation. More... | |
double | getProlongationDampingFactor () const |
Get the damping factor for the prolongation. More... | |
CoarseningParameters (int maxLevel=100, int coarsenTarget=1000, double minCoarsenRate=1.2, double prolongDamp=1.6, AccumulationMode accumulate=successiveAccu) | |
Constructor. More... | |
void | setDefaultValuesIsotropic (std::size_t dim, std::size_t diameter=2) |
Sets reasonable default values for an isotropic problem. More... | |
void | setDefaultValuesAnisotropic (std::size_t dim, std::size_t diameter=2) |
Sets reasonable default values for an anisotropic problem. More... | |
std::size_t | maxDistance () const |
Get the maximal distance allowed between two nodes in a aggregate. More... | |
void | setMaxDistance (std::size_t distance) |
Set the maximal distance allowed between two nodes in a aggregate. More... | |
bool | skipIsolated () const |
Whether isolated aggregates will not be represented on the coarse level. More... | |
void | setSkipIsolated (bool skip) |
Set whether isolated aggregates will not be represented on the coarse level. More... | |
std::size_t | minAggregateSize () const |
Get the minimum number of nodes a aggregate has to consist of. More... | |
void | setMinAggregateSize (std::size_t size) |
Set the minimum number of nodes a aggregate has to consist of. More... | |
std::size_t | maxAggregateSize () const |
Get the maximum number of nodes a aggregate is allowed to have. More... | |
void | setMaxAggregateSize (std::size_t size) |
Set the maximum number of nodes a aggregate is allowed to have. More... | |
std::size_t | maxConnectivity () const |
Get the maximum number of connections a aggregate is allowed to have. More... | |
void | setMaxConnectivity (std::size_t connectivity) |
Set the maximum number of connections a aggregate is allowed to have. More... | |
void | setBeta (double b) |
Set threshold for marking nodes as isolated. The default value is 1.0E-5. | |
double | beta () const |
Get the threshold for marking nodes as isolated. The default value is 1.0E-5. More... | |
void | setAlpha (double a) |
Set the scaling value for marking connections as strong. Default value is 1/3. | |
double | alpha () const |
Get the scaling value for marking connections as strong. Default value is 1/3. | |
Detailed Description
Parameters for the complete coarsening process.
The documentation for this class was generated from the following file:
- dune/istl/paamg/parameters.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 21, 23:30, 2024)