GEOSX
|
Helper struct for strategies that provides some basic parameter arrays needed by MGR. More...
#include <HypreMGR.hpp>
Static Public Attributes | |
static constexpr HYPRE_Int | numLevels = NLEVEL |
Number of levels. | |
Protected Member Functions | |
MGRStrategyBase (HYPRE_Int const numBlocks) | |
Constructor. More... | |
void | setupLabels () |
Call this after populating lv_cindexes. | |
void | setReduction (HyprePrecWrapper &precond, HypreMGRData &mgrData) |
Helper function that sets the reduction features common to all mgr strategies. More... | |
void | setDisplacementAMG (HyprePrecWrapper &solver) |
Set up BoomerAMG to perform the solve for the displacement system. More... | |
void | setPressureAMG (HyprePrecWrapper &solver) |
Set up BoomerAMG to perform the solve for the pressure system. More... | |
void | setPressureTemperatureAMG (HyprePrecWrapper &solver) |
Set up BoomerAMG to perform the solve for the pressure/temperature system. More... | |
void | setMechanicsFSolver (HyprePrecWrapper &precond, HypreMGRData &mgrData) |
Set up BoomerAMG to perform the mechanics F-solve for the first F-relaxation. More... | |
Protected Attributes | |
HYPRE_Int | m_numBlocks { 0 } |
Number of different matrix blocks treated separately. | |
std::vector< HYPRE_Int > | m_labels [numLevels] {} |
Dof labels kept at each level. | |
HYPRE_Int | m_numLabels [numLevels] { -1 } |
Number of dof labels kept. | |
HYPRE_Int * | m_ptrLabels [numLevels] { nullptr } |
Pointers to each level's labels, as consumed by MGR. | |
MGRFRelaxationType | m_levelFRelaxType [numLevels] |
F-relaxation type for each level. | |
HYPRE_Int | m_levelFRelaxIters [numLevels] { -1 } |
Number of F-relaxation iterations for each level. | |
MGRInterpolationType | m_levelInterpType [numLevels] |
Interpolation type for each level. | |
MGRRestrictionType | m_levelRestrictType [numLevels] |
Restriction type for each level. | |
MGRCoarseGridMethod | m_levelCoarseGridMethod [numLevels] |
Coarse grid method for each level. | |
MGRGlobalSmootherType | m_levelGlobalSmootherType [numLevels] |
Global smoother type for each level. | |
HYPRE_Int | m_levelGlobalSmootherIters [numLevels] { -1 } |
Number of global smoother iterations for each level. | |
Helper struct for strategies that provides some basic parameter arrays needed by MGR.
NLEVEL | number of reduction levels (not including the coarsest level) |
Definition at line 72 of file HypreMGR.hpp.
|
inlineexplicitprotected |
|
inlineprotected |
Set up BoomerAMG to perform the solve for the displacement system.
solver | the solver wrapper |
Definition at line 169 of file HypreMGR.hpp.
|
inlineprotected |
Set up BoomerAMG to perform the mechanics F-solve for the first F-relaxation.
precond | the preconditioner wrapper |
mgrData | auxiliary MGR data |
Definition at line 256 of file HypreMGR.hpp.
|
inlineprotected |
Set up BoomerAMG to perform the solve for the pressure system.
solver | the solver wrapper |
Definition at line 197 of file HypreMGR.hpp.
|
inlineprotected |
Set up BoomerAMG to perform the solve for the pressure/temperature system.
solver | the solver wrapper |
Definition at line 224 of file HypreMGR.hpp.
|
inlineprotected |
Helper function that sets the reduction features common to all mgr strategies.
precond | the preconditioner wrapper |
mgrData | auxiliary MGR data |
Definition at line 133 of file HypreMGR.hpp.