8#include "include/ModelArray.hpp"
12 { ModelArray::Dimension::X, {
"x", 1 } },
13 { ModelArray::Dimension::Y, {
"y", 1 } },
14 { ModelArray::Dimension::Z, {
"z", 1 } },
15 { ModelArray::Dimension::U, {
"u", 1 } },
19 { ModelArray::Type::ONED,
21 ModelArray::Dimension::X,
23 { ModelArray::Type::TWOD,
25 ModelArray::Dimension::X,
26 ModelArray::Dimension::Y,
28 { ModelArray::Type::ZUFIELD,
30 ModelArray::Dimension::Z,
31 ModelArray::Dimension::U,
33 { ModelArray::Type::THREED,
35 ModelArray::Dimension::X,
36 ModelArray::Dimension::Y,
37 ModelArray::Dimension::Z,
39 { ModelArray::Type::FOURD,
41 ModelArray::Dimension::X,
42 ModelArray::Dimension::Y,
43 ModelArray::Dimension::Z,
44 ModelArray::Dimension::U,
49 { ModelArray::Type::ONED,
"OneDField" },
50 { ModelArray::Type::TWOD,
"TwoDField" },
51 { ModelArray::Type::ZUFIELD,
"TwoDField" },
52 { ModelArray::Type::THREED,
"ThreeDField" },
53 { ModelArray::Type::FOURD,
"FourDField" },
57 : ModelArray(Type::ONED)
61bool ModelArray::hasDoF(
const Type type) {
return false; }
63ModelArray::SizeMap::SizeMap()
74ModelArray::DimensionMap::DimensionMap()
76 { Type::ONED, { 1 } },
77 { Type::TWOD, { 1, 1 } },
78 { Type::ZUFIELD, { 1, 1 } },
79 { Type::THREED, { 1, 1, 1 } },
80 { Type::FOURD, { 1, 1, 1, 1 } },
85const std::map<ModelArray::Type, ModelArray::Dimension> ModelArray::componentMap = {};
static TypeDimensions typeDimensions
The dimensions that make up each defined type. Defined in ModelArrayDetails.cpp.
static std::map< Dimension, DimensionSpec > definedDimensions
The name and length of each dimension that is defined.
static const std::map< Type, std::string > typeNames
The name of each type of ModelArray.