|
IPPL (Independent Parallel Particle Layer)
IPPL
|
Functor to generate random numbers from a uniform distribution. More...
#include <Randu.h>
Public Types | |
| using | view_type |
| using | GeneratorPool = typename Kokkos::Random_XorShift64_Pool<> |
Public Member Functions | |
| KOKKOS_INLINE_FUNCTION | randu (view_type v_, GeneratorPool rand_pool_, T *rmin_p, T *rmax_p) |
| Constructor for the randu functor. | |
| KOKKOS_INLINE_FUNCTION | randu (view_type v_, GeneratorPool rand_pool_) |
| KOKKOS_INLINE_FUNCTION void | operator() (const size_t i) const |
| Operator to generate random numbers. | |
Public Attributes | |
| view_type | v |
| GeneratorPool | rand_pool |
| T | rmin [Dim] |
| T | rmax [Dim] |
Functor to generate random numbers from a uniform distribution.
This functor generates random numbers from a uniform distribution in the range [rmin, rmax].
| T | Data type of the random numbers. |
| GeneratorPool | Type of the random number generator pool. |
| Dim | Dimensionality of the random numbers. |
| using ippl::random::randu< T, Dim >::GeneratorPool = typename Kokkos::Random_XorShift64_Pool<> |
| using ippl::random::randu< T, Dim >::view_type |
|
inline |
|
inline |
|
inline |
| GeneratorPool ippl::random::randu< T, Dim >::rand_pool |
Definition at line 35 of file Randu.h.
Referenced by operator()(), randu(), and randu().
Definition at line 38 of file Randu.h.
Referenced by operator()(), randu(), and randu().
Definition at line 37 of file Randu.h.
Referenced by operator()(), randu(), and randu().
| view_type ippl::random::randu< T, Dim >::v |
Definition at line 32 of file Randu.h.
Referenced by operator()(), randu(), and randu().