# PhasicFlow: src/phasicFlow/Kokkos/KokkosUtilities.hpp File Reference
PhasicFlow is an open-source parallel DEM (discrete element method) package for simulating granular flow. It is developed in C++ and can be exectued on both GPU (like CUDA) and CPU.

KokkosUtilities.hpp File Reference
Include dependency graph for KokkosUtilities.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Namespaces

| pFlow

## Functions

template<typename ExecutionSpace >
INLINE_FUNCTION_H constexpr bool | isHostAccessible ()
template<typename ExecutionSpace >
INLINE_FUNCTION_H constexpr bool | isDeviceAccessible ()
template<typename ExecutionSpace , typename MemoerySpace >
INLINE_FUNCTION_H constexpr bool | areAccessible ()
| Is MemoerySpace accessible from ExecutionSpace. More...
template<typename Type , typename... Properties>
INLINE_FUNCTION_H void | reallocInit (ViewType1D< Type, Properties... > &view, uint32 len)
template<typename Type , typename... Properties>
INLINE_FUNCTION_H void | reallocNoInit (ViewType1D< Type, Properties... > &view, uint32 len)
template<typename Type , typename... Properties>
INLINE_FUNCTION_H void | reallocFill (ViewType1D< Type, Properties... > &view, uint32 len, Type val)
template<typename Type , typename... Properties>
INLINE_FUNCTION_H void | reallocInit (ViewType2D< Type, Properties... > &view, uint32 len1, uint32 len2)
template<typename Type , typename... Properties>
INLINE_FUNCTION_H void | reallocNoInit (ViewType2D< Type, Properties... > &view, uint32 len1, uint32 len2)
template<typename Type , typename... Properties>
INLINE_FUNCTION_H void | reallocFill (ViewType2D< Type, Properties... > &view, uint32 len1, uint32 len2, Type val)
template<typename Type , typename... Properties>
INLINE_FUNCTION_H void | reallocInit (ViewType3D< Type, Properties... > &view, uint32 len1, uint32 len2, uint32 len3)
template<typename Type , typename... Properties>
INLINE_FUNCTION_H void | reallocNoInit (ViewType3D< Type, Properties... > &view, uint32 len1, uint32 len2, uint32 len3)
template<typename Type , typename... Properties>
INLINE_FUNCTION_H void | reallocFill (ViewType3D< Type, Properties... > &view, uint32 len1, uint32 len2, uint32 len3, Type val)
template<typename Type , typename... Properties>
INLINE_FUNCTION_H void | resizeInit (ViewType1D< Type, Properties... > &view, uint32 newLen)
template<typename Type , typename... Properties>
INLINE_FUNCTION_H void | resizeNoInit (ViewType1D< Type, Properties... > &view, uint32 newLen)
template<typename ViewType >
INLINE_FUNCTION_H void | swapViews (ViewType &v1, ViewType &v2)
template<typename T1 , typename T2 >
INLINE_FUNCTION_H iOstream & | operator<< (iOstream &os, const Pair< T1, T2 > &p)
template<typename T , typename... properties>
INLINE_FUNCTION_H span< T > | makeSpan (ViewType1D< T, properties... > &v)
template<typename T , typename... properties>
INLINE_FUNCTION_H span< T > | makeSpan (ViewType1D< T, properties... > &v, uint32 size)
template<typename T , typename... properties>
INLINE_FUNCTION_H span< T > | makeSpan (const ViewType1D< T, properties... > &v)
template<typename T , typename... properties>
INLINE_FUNCTION_H span< T > | makeSpan (const ViewType1D< T, properties... > &v, uint32 size)
template<typename T , typename... properties>
INLINE_FUNCTION_H iOstream & | operator<< (iOstream &os, const ViewType1D< T, properties... > &v)