AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
A policy class for a compile-time known stride. 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 |
Public Member Functions | |
AXOM_HOST_DEVICE | CompileTimeStride (IntType val=DEFAULT_VALUE) |
AXOM_HOST_DEVICE IntType | stride () const |
AXOM_HOST_DEVICE IntType | shape () const |
IntType | operator() () const |
AXOM_HOST_DEVICE void | setStride (IntType AXOM_DEBUG_PARAM(val)) |
bool | isValid (bool) const |
Static Public Member Functions | |
static constexpr IntType | DefaultSize () |
Static Public Attributes | |
static const IntType | DEFAULT_VALUE = INT_VAL |
static const bool | IS_COMPILE_TIME = true |
constexpr static int | NumDims = 1 |
A policy class for a compile-time known stride.
using axom::slam::policies::CompileTimeStride< IntType, INT_VAL >::IndexType = IntType |
using axom::slam::policies::CompileTimeStride< IntType, INT_VAL >::ShapeType = IntType |
|
inline |
|
inlinestaticconstexpr |
|
inline |
|
inline |
|
inline |
|
inline |
References SLIC_ASSERT_MSG.
|
inline |
All non-zero strides are valid
|
static |
|
static |
|
staticconstexpr |