netxsimdg
Loading...
Searching...
No Matches
ModelArrayDetails.hpp
Go to the documentation of this file.
1
8
#ifndef MODELARRAYDETAILS_HPP
9
#define MODELARRAYDETAILS_HPP
10
11
// An inclusion file to detail the ModelArray dimensions and types for
12
// Discontinuous Galerkin models.
13
14
// Should be grouped with a consistent ModelArrayTypedefs.hpp and
15
// ModelArrayDetails.cpp
16
17
enum class
Dimension { X, Y, Z, XVERTEX, YVERTEX, XCG, YCG, DG, DGSTRESS, NCOORDS, COUNT };
18
19
enum class
Type {
20
H,
21
VERTEX,
22
U,
23
V,
24
Z,
25
DG,
26
DGSTRESS,
27
CG,
28
};
29
30
static
ModelArray HField() {
return
ModelArray(Type::H); }
31
static
ModelArray VertexField() {
return
ModelArray(Type::VERTEX); }
32
static
ModelArray UField() {
return
ModelArray(Type::U); }
33
static
ModelArray VField() {
return
ModelArray(Type::V); }
34
static
ModelArray ZField() {
return
ModelArray(Type::Z); }
35
static
ModelArray DGField() {
return
ModelArray(Type::DG); }
36
static
ModelArray DGSField() {
return
ModelArray(Type::DGSTRESS); }
37
static
ModelArray CGField() {
return
ModelArray(Type::CG); }
38
39
const
static
size_t
nCoords;
40
41
#endif
/* MODELARRAYDETAILS_HPP */
core
src
discontinuousgalerkin
include
ModelArrayDetails.hpp
Generated by
1.12.0