GEOSX
Public Member Functions | List of all members
geosx::hypre::mgr::SinglePhaseReservoirHybridFVM Class Reference

SinglePhaseReservoirHybridFVM strategy. More...

#include <SinglePhaseReservoirHybridFVM.hpp>

Inheritance diagram for geosx::hypre::mgr::SinglePhaseReservoirHybridFVM:
Inheritance graph
[legend]

Public Member Functions

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

Additional Inherited Members

- Static Public Attributes inherited from geosx::hypre::mgr::MGRStrategyBase< 2 >
static constexpr HYPRE_Int numLevels
 Number of levels.
 
- Protected Member Functions inherited from geosx::hypre::mgr::MGRStrategyBase< 2 >
 MGRStrategyBase (HYPRE_Int const numBlocks)
 Constructor. More...
 
void setupLabels ()
 Call this after populating lv_cindexes.
 
- Protected Attributes inherited from geosx::hypre::mgr::MGRStrategyBase< 2 >
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.
 
HYPRE_Int m_levelFRelaxMethod [numLevels]
 F-relaxation method for each level.
 
HYPRE_Int m_levelInterpType [numLevels]
 Interpolation type for each level.
 
HYPRE_Int m_levelRestrictType [numLevels]
 Restriction type for each level.
 
HYPRE_Int m_levelCoarseGridMethod [numLevels]
 Coarse grid method for each level.
 
HYPRE_Int m_numRestrictSweeps
 Number of restrict sweeps.
 
HYPRE_Int m_numInterpSweeps
 Number of interpolation sweeps.
 
HYPRE_Int m_fRelaxMethod
 F-relaxation method.
 
HYPRE_Int m_relaxType
 F-relaxation type.
 
HYPRE_Int m_numRelaxSweeps
 F-relaxation number of sweeps.
 
HYPRE_Int m_globalSmoothType
 Global smoothing type.
 
HYPRE_Int m_numGlobalSmoothSweeps
 Global smoothing number of iterations.
 

Detailed Description

SinglePhaseReservoirHybridFVM strategy.

Labels description stored in point_marker_array dofLabel: 0 = cell-centered reservoir pressure dofLabel: 1 = face-centered reservoir pressure dofLabel: 2 = well pressure dofLabel: 3 = well rate

Ingredients

2-level MGR reduction strategy 1st level: eliminate the cell-centered reservoir pressure 2nd level: eliminate the face-centered reservoir pressure (Lagrange multiplier) The coarse grid is the well vars The coarse grid solved with a direct solver

Definition at line 50 of file SinglePhaseReservoirHybridFVM.hpp.

Member Function Documentation

◆ setup()

void geosx::hypre::mgr::SinglePhaseReservoirHybridFVM::setup ( LinearSolverParameters::MGR const &  ,
HyprePrecWrapper precond,
HypreMGRData mgrData 
)
inline

Setup the MGR strategy.

Parameters
precondpreconditioner wrapper
mgrDataauxiliary MGR data

Definition at line 85 of file SinglePhaseReservoirHybridFVM.hpp.


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