GEOS
rateAndStateFields.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 Total, S.A
7  * Copyright (c) 2018-2024 The Board of Trustees of the Leland Stanford Junior University
8  * Copyright (c) 2018-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_INDUCEDSEISMICITY_RATEANDSTATEFIELDS_HPP_
21 #define GEOS_PHYSICSSOLVERS_INDUCEDSEISMICITY_RATEANDSTATEFIELDS_HPP_
22 
23 #include "common/DataLayouts.hpp"
24 #include "mesh/MeshFields.hpp"
25 
26 namespace geos
27 {
28 
29 namespace fields
30 {
31 
32 namespace rateAndState
33 {
34 
35 DECLARE_FIELD( slipRate,
36  "slipRate",
37  array1d< real64 >,
38  1.0e-6,
39  LEVEL_0,
40  WRITE_AND_READ,
41  "Slip rate" );
42 
43 DECLARE_FIELD( stateVariable,
44  "stateVariable",
45  array1d< real64 >,
46  0.6,
47  LEVEL_0,
48  WRITE_AND_READ,
49  "Rate- and state-dependent friction state variable" );
50 
51 DECLARE_FIELD( slipVelocity,
52  "slipVelocity",
53  array2d< real64 >,
54  1.0e-6,
55  LEVEL_0,
56  WRITE_AND_READ,
57  "Slip velocity" );
58 
59 DECLARE_FIELD( stateVariable_n,
60  "stateVariable_n",
61  array1d< real64 >,
62  0.6,
63  NOPLOT,
64  WRITE_AND_READ,
65  "Rate- and state-dependent friction state variable at previous time step" );
66 
67 DECLARE_FIELD( deltaSlip,
68  "deltaSlip",
69  array2d< real64 >,
70  0.0,
71  LEVEL_0,
72  WRITE_AND_READ,
73  "Slip increment" );
74 
75 
76 }
77 
78 }
79 
80 }
81 
82 #endif // GEOS_PHYSICSSOLVERS_INDUCEDSEISMICITY_INDUCEDSEISMICITYFIELDS_HPP_
#define DECLARE_FIELD(NAME, KEY, TYPE, DEFAULT, PLOTLEVEL, RESTARTFLAG, DESCRIPTION)
Generates a traits struct.
Definition: MeshFields.hpp:39