Range for elements in an vector [start,end) More...
Public Types | |
using | Pair = Kokkos::pair< T, T > |
Public Member Functions | |
TypeInfoTemplateNV11 ("Range", T) INLINE_FUNCTION_HD Range()=default | |
Default. More... | |
INLINE_FUNCTION_HD | Range (const T &e) |
From end, set start to 0. More... | |
INLINE_FUNCTION_HD | Range (const T &s, const T &e) |
From componeents. More... | |
INLINE_FUNCTION_HD | Range (const Range::Pair &src) |
From pair. More... | |
INLINE_FUNCTION_HD | Range (const Range &)=default |
Copy. More... | |
INLINE_FUNCTION_HD | Range (Range &&)=default |
Move. More... | |
INLINE_FUNCTION_HD Range & | operator= (const Range &)=default |
Copy assignment. More... | |
INLINE_FUNCTION_HD Range & | operator= (Range &&)=default |
Move assignment. More... | |
INLINE_FUNCTION_HD | ~Range ()=default |
Destructor. More... | |
INLINE_FUNCTION_HD T & | start () |
Start. More... | |
INLINE_FUNCTION_HD T & | end () |
End. More... | |
const INLINE_FUNCTION_HD T & | start () const |
const INLINE_FUNCTION_HD T & | end () const |
INLINE_FUNCTION_HD T | numElements () |
INLINE_FUNCTION_HD auto | getPair () const |
Range for elements in an vector [start,end)
|
inlineexplicit |
|
inline |
|
inline |
|
default |
Copy.
|
default |
Move.
|
default |
Destructor.
|
default |
Default.
|
default |
Copy assignment.
|
default |
Move assignment.
|
inline |
Start.
Definition at line 94 of file Range.hpp.
Referenced by VectorSingle< word, HostSpace >::fill(), pFlow::AB2Kernels::intAllActive(), Range< uint32 >::numElements(), and pFlow::operator<<().
|
inline |
End.
Definition at line 101 of file Range.hpp.
Referenced by cellMapper::checkAllocateNext(), mapperNBS::checkAllocateNext(), VectorSingle< uint32, HostSpace >::fill(), VectorSingle< word, HostSpace >::fill(), pFlow::AB2Kernels::intAllActive(), Range< uint32 >::numElements(), pFlow::operator<<(), and internalPoints::size().
|
inline |
|
inline |
|
inline |
Definition at line 119 of file Range.hpp.
Referenced by pointFlag< DefaultHostExecutionSpace >::resetFlags(), multiTriSurface::subSurfaceNumPoints(), and multiTriSurface::subSurfaceSize().
|
inline |