|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
A policy class for the stride in a set. When using this class, the stride can be set at runtime. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/slam/policies/StridePolicies.hpp>

Public Types | |
| using | IndexType = IntType |
| using | ShapeType = IntType |
| using | TagType = StrideTag< IntType > |
| using | IntType = decltype(Tag::defaultValue()) |
Public Member Functions | |
| constexpr AXOM_HOST_DEVICE IntType | stride () const |
| Returns the stride between consecutive elements. More... | |
| constexpr AXOM_HOST_DEVICE IntType & | stride () |
| constexpr AXOM_HOST_DEVICE IntType | shape () const |
| Returns the shape of the inner data for a given stride. This only has meaning when used with Map-based types. More... | |
| void | setStride (IntType str) |
| constexpr AXOM_HOST_DEVICE auto | value () const |
| constexpr AXOM_HOST_DEVICE auto & | value () |
| constexpr auto | operator() () const |
| constexpr auto & | operator() () |
| constexpr bool | isValid (bool) const |
Static Public Member Functions | |
| static constexpr IntType | DefaultSize () |
Static Public Attributes | |
| static const bool | IS_COMPILE_TIME = false |
| constexpr static int | NumDims = 1 |
OrderedSet_Stride_Policies | |
A few default policies for the stride of an OrderedSet | |
| static const IntType | DEFAULT_VALUE = StrideTag<IntType>::defaultValue() |
Protected Attributes | |
| IntType | m_value |
A policy class for the stride in a set. When using this class, the stride can be set at runtime.
| using axom::slam::policies::RuntimeStride< IntType >::IndexType = IntType |
| using axom::slam::policies::RuntimeStride< IntType >::ShapeType = IntType |
|
inherited |
|
inherited |
|
inlinestaticconstexpr |
|
inlineconstexpr |
Returns the stride between consecutive elements.
References axom::slam::policies::RuntimeValue< StrideTag< IntType > >::value().
|
inlineconstexpr |
|
inlineconstexpr |
Returns the shape of the inner data for a given stride. This only has meaning when used with Map-based types.
References axom::slam::policies::RuntimeValue< StrideTag< IntType > >::value().
|
inline |
|
inlineconstexprinherited |
|
inlineconstexprinherited |
|
inlineconstexprinherited |
|
inlineconstexprinherited |
|
inlineconstexprinherited |
|
static |
|
static |
|
staticconstexpr |
|
protectedinherited |