AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Classes | |
struct | ArrayTraits< Array< T, DIM, SPACE > > |
struct | ArrayTraits |
class | ArraySubslice |
Proxy class for efficiently constructing slice ArrayViews by using the generic ArrayBase constructor in ArrayView. This avoids the cost of looking up the correct allocator ID from the other ArrayView constructors. More... | |
struct | SubsliceProxy |
struct | SubsliceProxy< T, SliceDim, ArraySubslice< T, OldSliceDim, BaseArray > > |
struct | SubsliceProxy< T, SliceDim, const ArraySubslice< T, OldSliceDim, BaseArray > > |
struct | all_types_are_integral_impl |
Indirection needed to dodge an MSVC compiler bug. More... | |
struct | all_types_are_integral_impl< First, Rest... > |
struct | all_types_are_integral |
Checks if all types in a parameter pack are integral. More... | |
struct | ArrayOpsBase |
struct | ArrayOpsBase< T, false > |
struct | ArrayOps |
struct | ArrayOps< T, MemorySpace::Dynamic > |
struct | ArrayTraits< ArraySubslice< T, SliceDim, BaseArray > > |
struct | ArrayTraits< ArrayView< T, DIM, SPACE > > |
Functions | |
template<typename T , int N> | |
AXOM_HOST_DEVICE T | packProduct (const T(&arr)[N]) |
template<typename T , int N> | |
bool | allNonNegative (const T(&arr)[N]) |
template<int N, typename T , int DIM> | |
AXOM_HOST_DEVICE StackArray< T, N > | takeLastElems (const StackArray< T, DIM > &arr) |
Takes the last N elements from an array. More... | |
template<MemorySpace SPACE> | |
int | getAllocatorID () |
Translates between the MemorySpace enum and Umpire allocator IDs. More... | |
template<> | |
int | getAllocatorID< MemorySpace::Dynamic > () |
MemorySpace | getAllocatorSpace (int allocatorId) |
AXOM_HOST_DEVICE T axom::detail::packProduct | ( | const T(&) | arr[N] | ) |
bool axom::detail::allNonNegative | ( | const T(&) | arr[N] | ) |
AXOM_HOST_DEVICE StackArray<T, N> axom::detail::takeLastElems | ( | const StackArray< T, DIM > & | arr | ) |
Takes the last N elements from an array.
|
inline |
Translates between the MemorySpace enum and Umpire allocator IDs.
|
inline |
References axom::getDefaultAllocatorID().
|
inline |
References AXOM_UNUSED_VAR, and axom::Dynamic.