GEOS
MeshData.hpp
Go to the documentation of this file.
1 /*
2  * ------------------------------------------------------------------------------------------------------------
3  * SPDX-License-Identifier: LGPL-2.1-only
4  *
5  * Copyright (c) 2018-2019 Lawrence Livermore National Security LLC
6  * Copyright (c) 2018-2019 The Board of Trustees of the Leland Stanford Junior University
7  * Copyright (c) 2018-2019 Total, S.A
8  * Copyright (c) 2019- GEOS/GEOSX Contributors
9  * All right reserved
10  *
11  * See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
12  * ------------------------------------------------------------------------------------------------------------
13  */
14 
18 #ifndef GEOS_LINEARALGEBRA_MULTISCALE_MESHDATA_HPP
19 #define GEOS_LINEARALGEBRA_MULTISCALE_MESHDATA_HPP
20 
21 #include "mesh/MeshFields.hpp"
22 
23 namespace geos
24 {
25 namespace fields
26 {
27 namespace multiscale
28 {
29 
30 // Doxygen throws spurious warnings even though these decls are identical to ones in MeshFields
32 
33 DECLARE_FIELD( OrigElementRegion,
34  "origElementRegion",
36  -1,
37  LEVEL_0,
38  NO_WRITE,
39  "Region index of the original element" );
40 
41 DECLARE_FIELD( OrigElementSubRegion,
42  "origElementSubRegion",
44  -1,
45  LEVEL_0,
46  NO_WRITE,
47  "Subregion index of the original element" );
48 
49 DECLARE_FIELD( OrigElementIndex,
50  "origElementIndex",
52  -1,
53  LEVEL_0,
54  NO_WRITE,
55  "Index of the original element" );
56 
57 DECLARE_FIELD( OrigNodeIndex,
58  "origNodeIndex",
60  -1,
61  LEVEL_0,
62  NO_WRITE,
63  "Index of the original node" );
64 
65 DECLARE_FIELD( CoarseCellLocalIndex,
66  "coarseCellLocalIndex",
68  -1,
69  LEVEL_0,
70  NO_WRITE,
71  "Local index of the coarse scale cell" );
72 
73 DECLARE_FIELD( CoarseCellGlobalIndex,
74  "coarseCellGlobalIndex",
76  -1,
77  LEVEL_0,
78  NO_WRITE,
79  "Global index of the coarse scale cell" );
80 
81 DECLARE_FIELD( CoarseNodeLocalIndex,
82  "coarseNodeLocalIndex",
84  -1,
85  LEVEL_0,
86  NO_WRITE,
87  "Local index of the coarse scale node" );
88 
89 DECLARE_FIELD( CoarseNodeGlobalIndex,
90  "coarseNodeGlobalIndex",
92  -1,
93  LEVEL_0,
94  NO_WRITE,
95  "Global index of the coarse scale node" );
96 
97 DECLARE_FIELD( FineNodeLocalIndex,
98  "fineNodeLocalIndex",
100  -1,
101  LEVEL_0,
102  NO_WRITE,
103  "Local index of the fine scale node corresponding to a coarse node" );
104 
106 
107 } // namespace multiscale
108 } // namespace fields
109 } // namespace geos
110 
111 #endif //GEOS_LINEARALGEBRA_MULTISCALE_MESHDATA_HPP
#define DECLARE_FIELD(NAME, KEY, TYPE, DEFAULT, PLOTLEVEL, RESTARTFLAG, DESCRIPTION)
Generates a traits struct.
Definition: MeshFields.hpp:39
Array< T, 1 > array1d
Alias for 1D array.
Definition: DataTypes.hpp:175