|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
A basic indexing class that provides methods for indexing transforms that have no effect. This is provided for topology view compatibility in algorithms that might use structured/unstructured topologies where index transforms are important. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/develop/src/axom/bump/views/BasicIndexing.hpp>
Public Member Functions | |
| AXOM_HOST_DEVICE axom::IndexType | size () const |
| Return the size. More... | |
| AXOM_HOST_DEVICE axom::IndexType | localToLocal (axom::IndexType index) const |
| No-effect indexing transforms. More... | |
| AXOM_HOST_DEVICE axom::IndexType | localToGlobal (axom::IndexType index) const |
| AXOM_HOST_DEVICE axom::IndexType | globalToLocal (axom::IndexType index) const |
| AXOM_HOST_DEVICE axom::IndexType | globalToGlobal (axom::IndexType index) const |
| AXOM_HOST_DEVICE bool | contains (axom::IndexType index) const |
| Determines whether the indexing contains the supplied index. More... | |
| AXOM_HOST_DEVICE axom::IndexType | clamp (axom::IndexType index) const |
| AXOM_HOST_DEVICE | BasicIndexing () |
| AXOM_HOST_DEVICE | BasicIndexing (axom::IndexType size) |
Public Attributes | |
| axom::IndexType | m_size {0} |
A basic indexing class that provides methods for indexing transforms that have no effect. This is provided for topology view compatibility in algorithms that might use structured/unstructured topologies where index transforms are important.
| IndexT | The type used for indices. |
|
inline |
Constructors
|
inline |
|
inline |
|
inline |
No-effect indexing transforms.
|
inline |
|
inline |
|
inline |
|
inline |
Determines whether the indexing contains the supplied index.
| index | The index being tested. |
References m_size.
|
inline |
References axom::utilities::clampVal(), and m_size.
| axom::IndexType axom::bump::views::BasicIndexing::m_size {0} |