19 #include <CD_NamespaceHeader.H>
24 template <
class T,
size_t DIM>
36 template <
typename... Args,
typename std::enable_if<
sizeof...(Args) == DIM,
int>::type = 0>
50 operator[](const
size_t a_dir) noexcept;
57 operator[](const
size_t a_dir) const noexcept;
63 inline std::array<T, DIM>&
70 inline const std::array<T, DIM>&
78 operator<(const
TileI& a_otherTile) const noexcept;
85 operator>(const
TileI& a_otherTile) const noexcept;
92 operator==(const
TileI& a_otherTile) const noexcept;
101 #include <CD_NamespaceFooter.H>
Implementation of CD_Tile.H.
Class for representing a tile (used in, e.g., TiledMeshRefine)
Definition: CD_Tile.H:26
std::array< T, DIM > m_indices
Index in N-dimensional space.
Definition: CD_Tile.H:98
TileI() noexcept
Default constructor. Sets m_indices = 0.
Definition: CD_TileImplem.H:38
TileI(Args... args) noexcept
Full constructor. Sets indices. Use as TileI(0,1,2,...)
Definition: CD_Tile.H:37
virtual ~TileI() noexcept
Destructor.
Definition: CD_TileImplem.H:51
std::array< T, DIM > & getIndices() noexcept
Get the indices.
Definition: CD_TileImplem.H:70