AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Provides a mixin class for a generic indexable indirection policy. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/slam/policies/IndirectionPolicies.hpp>
Inherits BasePolicy.
Public Types | |
using | PositionType = typename BasePolicy::PosType |
Public Member Functions | |
bool | isValid (PositionType size, PositionType offset, PositionType stride, bool verboseOutput=false) const |
AXOM_HOST_DEVICE ConstIndirectionResult | indirection (PositionType pos) const |
AXOM_HOST_DEVICE IndirectionResult | indirection (PositionType pos) |
AXOM_HOST_DEVICE ConstIndirectionResult | operator() (PositionType pos) const |
AXOM_HOST_DEVICE IndirectionResult | operator() (PositionType pos) |
Static Public Member Functions | |
template<bool DeviceEnable = BasePolicy::DeviceAccessible> | |
static AXOM_HOST_DEVICE std::enable_if_t< DeviceEnable, IndirectionResult > | getIndirection (IndirectionRefType buf, PositionType pos) |
template<bool DeviceEnable = BasePolicy::DeviceAccessible> | |
static AXOM_HOST_DEVICE std::enable_if_t< DeviceEnable, ConstIndirectionResult > | getConstIndirection (IndirectionConstRefType buf, PositionType pos) |
template<bool DeviceEnable = BasePolicy::DeviceAccessible> | |
static AXOM_HOST_DEVICE std::enable_if_t<!DeviceEnable, IndirectionResult > | getIndirection (IndirectionRefType buf, PositionType pos) |
template<bool DeviceEnable = BasePolicy::DeviceAccessible> | |
static AXOM_HOST_DEVICE std::enable_if_t<!DeviceEnable, ConstIndirectionResult > | getConstIndirection (IndirectionConstRefType buf, PositionType pos) |
Provides a mixin class for a generic indexable indirection policy.
BasePolicy | the type of the derived indirection policy class |
using axom::slam::policies::detail::IndexedIndirection< BasePolicy >::PositionType = typename BasePolicy::PosType |
|
inline |
References AXOM_UNUSED_VAR, and SLIC_DEBUG_IF.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
References axom::slic::abort(), and SLIC_ASSERT_MSG.
|
inlinestatic |
References axom::slic::abort(), and SLIC_ASSERT_MSG.
|
inline |
|
inline |
|
inline |
|
inline |