8#include "include/ModelArray.hpp"
18 { ModelArray::Dimension::X, {
"x", 0 } },
19 { ModelArray::Dimension::Y, {
"y", 0 } },
20 { ModelArray::Dimension::Z, {
"z", 1 } },
24 { ModelArray::Type::H,
26 ModelArray::Dimension::X,
27 ModelArray::Dimension::Y,
29 { ModelArray::Type::U,
31 ModelArray::Dimension::X,
32 ModelArray::Dimension::Y,
34 { ModelArray::Type::V,
36 ModelArray::Dimension::X,
37 ModelArray::Dimension::Y,
39 { ModelArray::Type::Z,
41 ModelArray::Dimension::X,
42 ModelArray::Dimension::Y,
43 ModelArray::Dimension::Z,
48 { ModelArray::Type::H,
"HField" },
49 { ModelArray::Type::U,
"UField" },
50 { ModelArray::Type::V,
"VField" },
51 { ModelArray::Type::Z,
"ZField" },
59bool ModelArray::hasDoF(
const Type type) {
return false; }
61ModelArray::SizeMap::SizeMap()
62 : m_sizes({ { Type::H, 0 }, { Type::U, 0 }, { Type::V, 0 }, { Type::Z, 0 } })
66ModelArray::DimensionMap::DimensionMap()
71 { Type::Z, { 0, 1 } },
76const 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.