GEOSX
|
SinglePhaseReservoirHybridFVM strategy. More...
#include <SinglePhaseReservoirHybridFVM.hpp>
Public Member Functions | |
SinglePhaseReservoirHybridFVM (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< 2 > | |
static constexpr HYPRE_Int | numLevels |
Number of levels. | |
Protected Member Functions inherited from geos::hypre::mgr::MGRStrategyBase< 2 > | |
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< 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. | |
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. | |
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 well block 2nd level: eliminate the cell-centered reservoir pressure The coarse grid is the face-centered reservoir pressure (Lagrange multiplier) system The coarse grid solved with BoomerAMG
Definition at line 50 of file SinglePhaseReservoirHybridFVM.hpp.
|
inline |
Setup the MGR strategy.
mgrParams | parameters for the configuration of the MGR recipe |
precond | preconditioner wrapper |
mgrData | auxiliary MGR data |
Definition at line 90 of file SinglePhaseReservoirHybridFVM.hpp.