AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::detail Namespace Reference

Classes

struct  all_types_are_integral
 Checks if all types in a parameter pack are integral. More...
 
struct  all_types_are_integral_impl
 Indirection needed to dodge an MSVC compiler bug. More...
 
struct  all_types_are_integral_impl< First, Rest... >
 

Functions

template<typename T , int N>
packProduct (const T(&arr)[N])
 
template<typename T , int N>
bool allNonNegative (const T(&arr)[N])
 
template<MemorySpace SPACE>
int getAllocatorID ()
 Translates between the MemorySpace enum and Umpire allocator IDs. More...
 
template<>
int getAllocatorID< MemorySpace::Dynamic > ()
 

Function Documentation

◆ packProduct()

template<typename T , int N>
T axom::detail::packProduct ( const T(&)  arr[N])

◆ allNonNegative()

template<typename T , int N>
bool axom::detail::allNonNegative ( const T(&)  arr[N])

◆ getAllocatorID()

template<MemorySpace SPACE>
int axom::detail::getAllocatorID ( )
inline

Translates between the MemorySpace enum and Umpire allocator IDs.

Referenced by axom::copy(), axom::operator==(), and axom::print().

◆ getAllocatorID< MemorySpace::Dynamic >()