GEOS
coreComponents
physicsSolvers
solidMechanics
contact
FractureState.hpp
Go to the documentation of this file.
1
/*
2
* ------------------------------------------------------------------------------------------------------------
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*
5
* Copyright (c) 2016-2024 Lawrence Livermore National Security LLC
6
* Copyright (c) 2018-2024 TotalEnergies
7
* Copyright (c) 2018-2024 The Board of Trustees of the Leland Stanford Junior University
8
* Copyright (c) 2023-2024 Chevron
9
* Copyright (c) 2019- GEOS/GEOSX Contributors
10
* All rights reserved
11
*
12
* See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
13
* ------------------------------------------------------------------------------------------------------------
14
*/
15
20
#ifndef GEOS_PHYSICSSOLVERS_CONTACT_FRACTURESTATE_HPP_
21
#define GEOS_PHYSICSSOLVERS_CONTACT_FRACTURESTATE_HPP_
22
23
#include "
common/format/EnumStrings.hpp
"
24
25
namespace
geos
26
{
27
28
namespace
fields
29
{
30
31
namespace
contact
32
{
33
39
struct
FractureState
40
{
41
enum
State
:
integer
42
{
43
Stick
= 0,
44
NewSlip
= 1,
45
Slip
= 2,
46
Open
= 3
47
};
48
};
49
50
ENUM_STRINGS
(
FractureState::State
,
"stick"
,
"new_slip"
,
"slip"
,
"open"
);
51
52
}
53
54
}
55
56
}
57
58
#endif
// GEOS_PHYSICSSOLVERS_CONTACT_FRACTURESTATE_HPP_
EnumStrings.hpp
geos
Definition:
DataLayouts.hpp:29
geos::ENUM_STRINGS
ENUM_STRINGS(LinearSolverParameters::SolverType, "direct", "cg", "gmres", "fgmres", "bicgstab", "preconditioner")
Declare strings associated with enumeration values.
geos::integer
std::int32_t integer
Signed integer type.
Definition:
DataTypes.hpp:82
geos::fields::contact::FractureState
Definition:
FractureState.hpp:40
geos::fields::contact::FractureState::State
State
Definition:
FractureState.hpp:42
geos::fields::contact::FractureState::Slip
@ Slip
element is sliding: no normal jump across the discontinuity, but sliding is allowed.
Definition:
FractureState.hpp:45
geos::fields::contact::FractureState::NewSlip
@ NewSlip
element just starts sliding: no normal jump across the discontinuity, but sliding is allowed.
Definition:
FractureState.hpp:44
geos::fields::contact::FractureState::Open
@ Open
element is open: no constraints are imposed.
Definition:
FractureState.hpp:46
geos::fields::contact::FractureState::Stick
@ Stick
element is closed: no jump across the discontinuity.
Definition:
FractureState.hpp:43
Generated by
1.9.1