|
version GIT relicensing-7336-ga5359f9c0a 2026-12-03 09:40:02+00:00
|
#include <deal.II/lac/psblas_precondition.h>
Standardized data struct to pipe additional flags to the preconditioner. See the AMG4PSBLAS documentation for possible parameters and their meaning.
Definition at line 54 of file psblas_precondition.h.
Public Member Functions | |
| AdditionalData (const char *cycle_type="VCYCLE", const unsigned int n_cycles=1, const double aggregation_threshold=1e-2, const char *aggregation_type="SOC1", const unsigned int aggregation_size=8, const char *smoother_type="FBGS", const unsigned int smoother_sweeps=2, const char *aggr_prol="SMOOTHED", const char *aggr_filter="FILTER", const char *parallel_aggr_algorithm="DECOUPLED", const char *coarse_type="BJAC", const char *coarse_mat_type="DIST", const bool output_details=false) | |
Public Attributes | |
| const char * | cycle_type |
| unsigned int | n_cycles |
| double | aggregation_threshold |
| const char * | aggregation_type |
| unsigned int | aggregation_size |
| const char * | smoother_type |
| unsigned int | smoother_sweeps |
| const char * | aggr_prol |
| const char * | aggr_filter |
| const char * | parallel_aggr_algorithm |
| const char * | coarse_type |
| const char * | coarse_mat_type |
| bool | output_details |
|
inlineexplicit |
Definition at line 56 of file psblas_precondition.h.
| const char* PSCToolkitWrappers::PreconditionAMG::AdditionalData::cycle_type |
Multilevel cycle. Possible values are "VCYCLE", "WCYCLE", "KCYCLE", and "ADD". See the AMG4PSBLAS documentation for details.
Definition at line 89 of file psblas_precondition.h.
| unsigned int PSCToolkitWrappers::PreconditionAMG::AdditionalData::n_cycles |
Definition at line 94 of file psblas_precondition.h.
| double PSCToolkitWrappers::PreconditionAMG::AdditionalData::aggregation_threshold |
Threshold for the strength of connection algorithm. Defaults to 0.01.
Definition at line 99 of file psblas_precondition.h.
| const char* PSCToolkitWrappers::PreconditionAMG::AdditionalData::aggregation_type |
Type of aggregation algorithm. Possible values are "SOC1", "SOC2", "MATCHBOXP".
Definition at line 105 of file psblas_precondition.h.
| unsigned int PSCToolkitWrappers::PreconditionAMG::AdditionalData::aggregation_size |
Maximum size of aggregates when the coupled aggregation algorithm based on matching is applied. Value must be any integer power of 2, with a minimum value of 2. Used only when parallel_aggr_algorithm is "COUPLED" and aggregation_type is "MATCHBOXP".
Definition at line 113 of file psblas_precondition.h.
| const char* PSCToolkitWrappers::PreconditionAMG::AdditionalData::smoother_type |
Type of smoother used in the multilevel preconditioner.
Definition at line 118 of file psblas_precondition.h.
| unsigned int PSCToolkitWrappers::PreconditionAMG::AdditionalData::smoother_sweeps |
Number of sweeps of the smoother or one-level preconditioner. If the chosen smoother is "POLY", then this parameter is the degree of the polynomial smoother. For the Chebyshev polynomial smoother (typical choice for elliptic problems), the degree is equal to the number of matrix-vector products performed by the smoother.
Definition at line 127 of file psblas_precondition.h.
| const char* PSCToolkitWrappers::PreconditionAMG::AdditionalData::aggr_prol |
Prolongator used by the aggregation algorithm: smoothed or unsmoothed (i.e., tentative prolongator).
Definition at line 133 of file psblas_precondition.h.
| const char* PSCToolkitWrappers::PreconditionAMG::AdditionalData::aggr_filter |
Matrix used in computing the smoothed prolongator: filtered or unfiltered.
Definition at line 139 of file psblas_precondition.h.
| const char* PSCToolkitWrappers::PreconditionAMG::AdditionalData::parallel_aggr_algorithm |
Parallel aggregation algorithm. Possible values are "DECOUPLED" and "COUPLED".
Definition at line 145 of file psblas_precondition.h.
| const char* PSCToolkitWrappers::PreconditionAMG::AdditionalData::coarse_type |
Solver used at the coarsest level. See AMG4PSBLAS documentation for possible values.
Definition at line 151 of file psblas_precondition.h.
| const char* PSCToolkitWrappers::PreconditionAMG::AdditionalData::coarse_mat_type |
Coarsest matrix layout: distributed among processes, or replicated on each one.
Definition at line 157 of file psblas_precondition.h.
| bool PSCToolkitWrappers::PreconditionAMG::AdditionalData::output_details |
Setting this flag to true produces debug output from PSBLAS, when the preconditioner is constructed.
Definition at line 163 of file psblas_precondition.h.