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

LagrangianContactMechanics strategy. More...

#include <LagrangianContactMechanics.hpp>

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

Public Member Functions

 LagrangianContactMechanics (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< 1 >
static constexpr HYPRE_Int numLevels
 Number of levels.
 
- Protected Member Functions inherited from geosx::hypre::mgr::MGRStrategyBase< 1 >
 MGRStrategyBase (HYPRE_Int const numBlocks)
 Constructor. More...
 
void setupLabels ()
 Call this after populating lv_cindexes.
 
- Protected Attributes inherited from geosx::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.
 
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

LagrangianContactMechanics strategy.

Contact mechanics with face-centered lagrangian multipliers

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 displacemente components
  3. C-points coarse-grid/Schur complement solver: boomer AMG
  4. Global smoother: none
Todo:
: (Sergey) I changed this from contiguous block setup to an equivalent marker array setup to make it a little easier (avoid passing DofManager, etc.). Will need to come up with a way to support both ways equally well. Maybe pass block offsets as constructor input.

Definition at line 53 of file LagrangianContactMechanics.hpp.

Member Function Documentation

◆ setup()

void geosx::hypre::mgr::LagrangianContactMechanics::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 LagrangianContactMechanics.hpp.


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