21 #ifndef GEOS_PHYSICSSOLVERS_CONTACT_CONTACTSOLVERBASE_HPP_
22 #define GEOS_PHYSICSSOLVERS_CONTACT_CONTACTSOLVERBASE_HPP_
34 Group *
const parent );
46 string const & getUniqueFractureRegionName()
const {
return m_fractureRegionNames[0]; }
54 constexpr
static char const * fractureStateString() {
return "fractureState"; }
56 constexpr
static char const * oldFractureStateString() {
return "oldFractureState"; }
58 constexpr
static char const * frictionLawNameString() {
return "frictionLawName"; }
67 void computeFractureStateStatistics(
MeshLevel const & mesh,
75 static bool compareFractureStates(
integer const state0,
78 return state0 == state1
85 std::vector< string > m_fractureRegionNames;
87 template<
typename LAMBDA >
88 void forFractureRegionOnMeshTargets(
Group const & meshBodies, LAMBDA && lambda )
const
106 template<
typename LAMBDA >
107 void forFractureRegionOnMeshTargets(
Group & meshBodies, LAMBDA && lambda )
const
112 arrayView1d< string const >
const )
114 ElementRegionManager & elemManager = mesh.getElemManager();
116 elemManager.forElementRegions< SurfaceElementRegion >( m_fractureRegionNames,
118 SurfaceElementRegion & region )
#define GEOS_HOST_DEVICE
Marks a host-device function.
Partition of the decomposed physical domain. It also manages the connexion information to its neighbo...
The ElementRegionManager class provides an interface to ObjectManagerBase in order to manage ElementR...
void forElementRegions(LAMBDA &&lambda)
This function is used to launch kernel function over all the element regions with region type = Eleme...
Class facilitating the representation of a multi-level discretization of a MeshBody.
ElementRegionManager const & getElemManager() const
Get the element region manager.
void forDiscretizationOnMeshTargets(Group const &meshBodies, LAMBDA &&lambda) const
Loop over the target discretization on all mesh targets and apply callback.
Group()=delete
Deleted default constructor.
ArrayView< T, 1 > arrayView1d
Alias for 1D array view.
GEOS_GLOBALINDEX_TYPE globalIndex
Global index type (for indexing objects across MPI partitions).
double real64
64-bit floating point type.
GEOS_LOCALINDEX_TYPE localIndex
Local index type (for indexing objects within an MPI partition).
std::int32_t integer
Signed integer type.