GEOSX
Public Member Functions | List of all members
geos::hypre::mgr::SinglePhaseReservoirFVM Class Reference

SinglePhaseReservoirFVM strategy. More...

#include <SinglePhaseReservoirFVM.hpp>

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

Public Member Functions

 SinglePhaseReservoirFVM (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)
 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 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.
 

Detailed Description

SinglePhaseReservoirFVM strategy.

Labels description stored in point_marker_array dofLabel: 0 = reservoir pressure (numResLabels = 1) dofLabel: 1 = well pressure dofLabel: 2 = well rate (numWellLabels = 2)

Ingredients

  1. F-points well vars, C-points cell-centered pressure
  2. F-points smoother: jacobi (soon, direct solver)
  3. C-points coarse-grid/Schur complement solver: BoomerAMG

Definition at line 47 of file SinglePhaseReservoirFVM.hpp.

Member Function Documentation

◆ setup()

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

Setup the MGR strategy.

Parameters
mgrParamsparameters for the configuration of the MGR recipe
precondpreconditioner wrapper
mgrDataauxiliary MGR data

Definition at line 76 of file SinglePhaseReservoirFVM.hpp.


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