![]() |
Vulpes
0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
|
#include <boomer_amg.hpp>
Public Types | |
| enum class | RelaxationType { Jacobi , sequentialGaussSeidel , seqboundaryGaussSeidel , SORJacobi , backwardSORJacobi , symmetricSORJacobi , l1scaledSORJacobi , GaussianElimination , l1GaussSeidel , backwardl1GaussSeidel , CG , Chebyshev , FCFJacobi , l1scaledJacobi } |
Public Attributes | |
| bool | symmetric_operator = false |
| double | strong_threshold = 0.25 |
| double | max_row_sum = 0.9 |
| unsigned int | aggressive_coarsening_num_levels = 0 |
| bool | output_details = false |
| RelaxationType | relaxation_type_up = RelaxationType::SORJacobi |
| RelaxationType | relaxation_type_down = RelaxationType::SORJacobi |
| RelaxationType | relaxation_type_coarse = RelaxationType::GaussianElimination |
| unsigned int | n_sweeps_coarse = 1 |
| double | tol = 0.0 |
| unsigned int | max_iter = 1 |
| bool | w_cycle = false |
|
strong |
| unsigned int vulpes::la::DataBoomerAMG::aggressive_coarsening_num_levels = 0 |
Number of levels of aggressive coarsening. Increasing this value reduces the construction time and memory requirements but may decrease effectiveness.
| unsigned int vulpes::la::DataBoomerAMG::max_iter = 1 |
Choose BommerAMG maximum number of cycles.
| double vulpes::la::DataBoomerAMG::max_row_sum = 0.9 |
If set to a value smaller than 1.0 then diagonally dominant parts of the matrix are treated as having no strongly connected nodes. If the row sum weighted by the diagonal entry is bigger than the given value, it is considered diagonally dominant. This feature is turned of by setting the value to 1.0. This is the default as some matrices can result in having only diagonally dominant entries and thus no multigrid levels are constructed. The default in BoomerAMG for this is 0.9. When you try this, check for a reasonable number of levels created.
| unsigned int vulpes::la::DataBoomerAMG::n_sweeps_coarse = 1 |
Choose number of sweeps on coarse grid.
| bool vulpes::la::DataBoomerAMG::output_details = false |
Setting this flag to true produces debug output from HYPRE, when the preconditioner is constructed.
| RelaxationType vulpes::la::DataBoomerAMG::relaxation_type_coarse = RelaxationType::GaussianElimination |
Choose relaxation type coarse.
| RelaxationType vulpes::la::DataBoomerAMG::relaxation_type_down = RelaxationType::SORJacobi |
Choose relaxation type down.
| RelaxationType vulpes::la::DataBoomerAMG::relaxation_type_up = RelaxationType::SORJacobi |
Choose relaxation type up.
| double vulpes::la::DataBoomerAMG::strong_threshold = 0.25 |
Threshold of when nodes are considered strongly connected. See HYPRE_BoomerAMGSetStrongThreshold(). Recommended values are 0.25 for 2d and 0.5 for 3d problems, but it is problem dependent.
| bool vulpes::la::DataBoomerAMG::symmetric_operator = false |
Set this flag to true if you have a symmetric system matrix and you want to use a solver which assumes a symmetric preconditioner like CG.
| double vulpes::la::DataBoomerAMG::tol = 0.0 |
Choose BommerAMG tolerance.
| bool vulpes::la::DataBoomerAMG::w_cycle = false |
Defines whether a w-cycle should be used instead of the standard setting of a v-cycle.