IPPL API Reference
Independent Parallel Particle Layer C++ API
Loading...
Searching...
No Matches
ippl::NDRegion Class Reference

Public Member Functions

KOKKOS_FUNCTION NDRegion ()
 
template<class... Args, typename std::enable_if< sizeof...(Args)==Dim &&(std::is_convertible_v< Args, PRegion< T > > &&...), bool >::type = true>
KOKKOS_FUNCTION NDRegion (const Args &... args)
 
KOKKOS_INLINE_FUNCTION NDRegion (const NDRegion< T, Dim > &nr)
 
KOKKOS_INLINE_FUNCTION NDRegion< T, Dim > & operator= (const NDRegion< T, Dim > &nr)
 
KOKKOS_INLINE_FUNCTION const PRegion< T > & operator[] (unsigned d) const
 
KOKKOS_INLINE_FUNCTION PRegion< T > & operator[] (unsigned d)
 
KOKKOS_INLINE_FUNCTION NDRegion< T, Dim > & operator+= (const T t)
 
KOKKOS_INLINE_FUNCTION NDRegion< T, Dim > & operator-= (const T t)
 
KOKKOS_INLINE_FUNCTION NDRegion< T, Dim > & operator*= (const T t)
 
KOKKOS_INLINE_FUNCTION NDRegion< T, Dim > & operator/= (const T t)
 
KOKKOS_INLINE_FUNCTION bool empty () const
 
template<typename T , unsigned Dim>
KOKKOS_INLINE_FUNCTION NDRegion (const NDRegion< T, Dim > &nr)
 

Constructor & Destructor Documentation

◆ NDRegion() [1/2]

KOKKOS_FUNCTION ippl::NDRegion::NDRegion ( )
inline

Create an empty NDregion

◆ NDRegion() [2/2]

template<class... Args, typename std::enable_if< sizeof...(Args)==Dim &&(std::is_convertible_v< Args, PRegion< T > > &&...), bool >::type = true>
KOKKOS_FUNCTION ippl::NDRegion::NDRegion ( const Args &...  args)

Create a NDregion from PRegions

Parameters
...argslist of PRegions
Remarks
See also (November 21, 2020) https://stackoverflow.com/questions/16478089/converting-variadic-template-pack-into-stdinitializer-list

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