|
chombo-discharge
|
Class for representing a tile (used in, e.g., TiledMeshRefine) More...
#include <CD_Tile.H>
Public Member Functions | |
| TileI () noexcept | |
| Default constructor. Sets m_indices = 0. | |
| template<typename... Args, typename std::enable_if< sizeof...(Args)==DIM, int >::type = 0> | |
| TileI (Args... args) noexcept | |
| Full constructor. Sets indices. Use as TileI(0,1,2,...) | |
| virtual | ~TileI () noexcept |
| Destructor. | |
| T & | operator[] (const size_t a_dir) noexcept |
| Get the index in specified coordinate direction. | |
| const T & | operator[] (const size_t a_dir) const noexcept |
| Get the index in specified coordinate direction. | |
| std::array< T, DIM > & | getIndices () noexcept |
| Get the indices. | |
| const std::array< T, DIM > & | getIndices () const noexcept |
| Get the indices. | |
| constexpr bool | operator< (const TileI &a_otherTile) const noexcept |
| Comparison operator. Uses lexicographical comparison. | |
| constexpr bool | operator> (const TileI &a_otherTile) const noexcept |
| Comparison operator. Uses lexicographical comparison. | |
| constexpr bool | operator== (const TileI &a_otherTile) const noexcept |
| Comparison operator. Uses lexicographical comparison. | |
Protected Attributes | |
| std::array< T, DIM > | m_indices |
| Index in N-dimensional space. | |
Class for representing a tile (used in, e.g., TiledMeshRefine)
|
inlinenoexcept |
Get the indices.
|
inlinenoexcept |
Get the indices.
|
inlineconstexprnoexcept |
Comparison operator. Uses lexicographical comparison.
| [in] | a_otherTile | Other tile. |
|
inlineconstexprnoexcept |
Comparison operator. Uses lexicographical comparison.
| [in] | a_otherTile | Other tile. |
|
inlineconstexprnoexcept |
Comparison operator. Uses lexicographical comparison.
| [in] | a_otherTile | Other tile. |
Get the index in specified coordinate direction.
| [in] | a_dir | Coordinate direction |
Get the index in specified coordinate direction.
| [in] | a_dir | Coordinate direction |