GEOS
Public Member Functions | List of all members
geos::hypre::mgr::Hydrofracture Class Reference

Hydrofracture strategy. More...

#include <Hydrofracture.hpp>

Inheritance diagram for geos::hypre::mgr::Hydrofracture:
Inheritance graph
[legend]

Public Member Functions

 Hydrofracture (arrayView1d< int const > const &)
 Constructor.
 
void setup (LinearSolverParameters::MGR const &mgrParams, HyprePrecWrapper &precond, HypreMGRData &mgrData)
 Setup the MGR strategy. More...
 

Additional Inherited Members

- Static Public Attributes inherited from geos::hypre::mgr::MGRStrategyBase< 1 >
static constexpr HYPRE_Int numLevels
 Number of levels.
 
- Protected Member Functions inherited from geos::hypre::mgr::MGRStrategyBase< 1 >
 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, integer const &separateComponents)
 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, integer const &separateComponents)
 Set up BoomerAMG to perform the mechanics F-solve for the first F-relaxation. More...
 
- Protected Attributes inherited from geos::hypre::mgr::MGRStrategyBase< 1 >
HYPRE_Int m_numBlocks
 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]
 Number of dof labels kept.
 
HYPRE_Int * m_ptrLabels [numLevels]
 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]
 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]
 Number of global smoother iterations for each level.
 
HYPRE_Real m_coarseGridThreshold
 Coarse grid truncation threshold.
 

Detailed Description

Hydrofracture strategy.

dofLabel: 0 = displacement, x-component dofLabel: 1 = displacement, y-component dofLabel: 2 = displacement, z-component dofLabel: 3 = pressure

Ingredients:

  1. F-points displacement (0,1,2), C-points pressure (3)
  2. F-points smoother: AMG, single V-cycle, separate displacement components
  3. C-points coarse-grid/Schur complement solver: boomer AMG
  4. Global smoother: none

Definition at line 48 of file Hydrofracture.hpp.

Member Function Documentation

◆ setup()

void geos::hypre::mgr::Hydrofracture::setup ( LinearSolverParameters::MGR const &  mgrParams,
HyprePrecWrapper precond,
HypreMGRData mgrData 
)
inline

Setup the MGR strategy.

Parameters
mgrParamsMGR configuration parameters
precondpreconditioner wrapper
mgrDataauxiliary MGR data

Definition at line 77 of file Hydrofracture.hpp.


The documentation for this class was generated from the following file: