GEOS
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 
24 
25 namespace geos
26 {
27 
28 namespace fields
29 {
30 
31 namespace contact
32 {
33 
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_
ENUM_STRINGS(LinearSolverParameters::SolverType, "direct", "cg", "gmres", "fgmres", "bicgstab", "preconditioner")
Declare strings associated with enumeration values.
std::int32_t integer
Signed integer type.
Definition: DataTypes.hpp:82
@ Slip
element is sliding: no normal jump across the discontinuity, but sliding is allowed.
@ NewSlip
element just starts sliding: no normal jump across the discontinuity, but sliding is allowed.
@ Open
element is open: no constraints are imposed.
@ Stick
element is closed: no jump across the discontinuity.