34 explicit GridDims(
const std::array<int, 3>& xyz);
35 GridDims(std::size_t nx, std::size_t ny, std::size_t nz);
37 static GridDims serializationTestObject();
41 std::size_t getNX()
const;
42 std::size_t getNY()
const;
43 std::size_t getNZ()
const;
44 std::size_t operator[](
int dim)
const;
46 std::array<int, 3> getNXYZ()
const;
48 std::size_t getGlobalIndex(std::size_t i, std::size_t j, std::size_t k)
const;
50 std::array<int, 3> getIJK(std::size_t globalIndex)
const;
52 std::size_t getCartesianSize()
const;
54 void assertGlobalIndex(std::size_t globalIndex)
const;
56 void assertIJK(std::size_t i, std::size_t j, std::size_t k)
const;
58 bool operator==(
const GridDims& data)
const;
60 template<
class Serializer>
75 void binary_init(
const Deck& deck);
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30