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// finite volume models.
13
14// Should be grouped with a consistent ModelArrayTypedefs.hpp and
15// ModelArrayDetails.cpp
16
17enum class Dimension { X, Y, Z, COUNT };
18
19enum class Type {
20 H,
21 U,
22 V,
23 Z,
24};
25
26static ModelArray HField() { return ModelArray(Type::H); }
27static ModelArray UField() { return ModelArray(Type::U); }
28static ModelArray VField() { return ModelArray(Type::V); }
29static ModelArray ZField() { return ModelArray(Type::Z); }
30
31#endif /* MODELARRAYDETAILS_HPP */