IPPL API Reference
Independent Parallel Particle Layer C++ API
Loading...
Searching...
No Matches
ippl::PRegion< T > Class Template Reference

Public Member Functions

KOKKOS_FUNCTION PRegion ()
 
KOKKOS_FUNCTION PRegion (T b)
 
KOKKOS_FUNCTION PRegion (T a, T b)
 
KOKKOS_FUNCTION PRegion (const PRegion< T > &)
 
KOKKOS_INLINE_FUNCTION PRegion< T > & operator= (const PRegion< T > &rhs)
 
KOKKOS_INLINE_FUNCTION T min () const noexcept
 
KOKKOS_INLINE_FUNCTION T max () const noexcept
 
KOKKOS_INLINE_FUNCTION T length () const noexcept
 
KOKKOS_INLINE_FUNCTION bool empty () const noexcept
 
KOKKOS_INLINE_FUNCTION PRegion< T > & operator+= (T t) noexcept
 
KOKKOS_INLINE_FUNCTION PRegion< T > & operator-= (T t) noexcept
 
KOKKOS_INLINE_FUNCTION PRegion< T > & operator*= (T t) noexcept
 
KOKKOS_INLINE_FUNCTION PRegion< T > & operator/= (T t) noexcept
 

Constructor & Destructor Documentation

◆ PRegion() [1/3]

template<typename T >
KOKKOS_FUNCTION ippl::PRegion< T >::PRegion ( )

Default region [0, 1[

◆ PRegion() [2/3]

template<typename T >
KOKKOS_FUNCTION ippl::PRegion< T >::PRegion ( b)

Region [0, b[

◆ PRegion() [3/3]

template<typename T >
KOKKOS_FUNCTION ippl::PRegion< T >::PRegion ( a,
b 
)

Region [a, b[

Member Function Documentation

◆ empty()

template<typename T >
KOKKOS_INLINE_FUNCTION bool ippl::PRegion< T >::empty ( ) const
noexcept
Returns
true if empty

◆ length()

template<typename T >
KOKKOS_INLINE_FUNCTION T ippl::PRegion< T >::length ( ) const
noexcept
Returns
the length of the region

◆ max()

template<typename T >
KOKKOS_INLINE_FUNCTION T ippl::PRegion< T >::max ( ) const
noexcept
Returns
the upper bound

◆ min()

template<typename T >
KOKKOS_INLINE_FUNCTION T ippl::PRegion< T >::min ( ) const
noexcept
Returns
the lower bound

The documentation for this class was generated from the following files: