|
IPPL (Independent Parallel Particle Layer)
IPPL
|
Functor that is used for generating samples. More...
#include <InverseTransformSampling.h>
Public Types | |
| using | value_type = T |
Public Member Functions | |
| KOKKOS_FUNCTION | fill_random (Distribution &dist_r, view_type &x_r, GeneratorPool &rand_pool_r, Vector< T, Dim > &umin_r, Vector< T, Dim > &umax_r, unsigned int &d_r) |
| Constructor for the fill_random functor. | |
| KOKKOS_INLINE_FUNCTION void | operator() (const size_t i) const |
| Operator to fill random values. | |
Public Attributes | |
| Distribution | targetdist_m |
| view_type | sample_m |
| GeneratorPool | pool_m |
| Vector< T, Dim > | minbound_m |
| Vector< T, Dim > | maxbound_m |
| unsigned int | dim_m |
Functor that is used for generating samples.
Definition at line 172 of file InverseTransformSampling.h.
| using ippl::random::InverseTransformSampling< T, Dim, DeviceType, Distribution >::fill_random< GeneratorPool >::value_type = T |
Definition at line 173 of file InverseTransformSampling.h.
|
inline |
Constructor for the fill_random functor.
| dist_ | The distribution to sample from. |
| x_ | The view to generate samples in. |
| rand_pool_ | The random number generator pool. |
| umin_ | Minimum cumulative distribution values. |
| umax_ | Maximum cumulative distribution values. |
Definition at line 191 of file InverseTransformSampling.h.
References dim_m, maxbound_m, minbound_m, pool_m, sample_m, and targetdist_m.
|
inline |
Operator to fill random values.
| i | Index for the random values. |
Definition at line 205 of file InverseTransformSampling.h.
References dim_m, maxbound_m, minbound_m, pool_m, sample_m, ippl::random::detail::NewtonRaphson< T, Distribution >::solve(), and targetdist_m.
| unsigned int ippl::random::InverseTransformSampling< T, Dim, DeviceType, Distribution >::fill_random< GeneratorPool >::dim_m |
Definition at line 179 of file InverseTransformSampling.h.
Referenced by fill_random(), and operator()().
| Vector<T, Dim> ippl::random::InverseTransformSampling< T, Dim, DeviceType, Distribution >::fill_random< GeneratorPool >::maxbound_m |
Definition at line 178 of file InverseTransformSampling.h.
Referenced by fill_random(), and operator()().
| Vector<T, Dim> ippl::random::InverseTransformSampling< T, Dim, DeviceType, Distribution >::fill_random< GeneratorPool >::minbound_m |
Definition at line 177 of file InverseTransformSampling.h.
Referenced by fill_random(), and operator()().
| GeneratorPool ippl::random::InverseTransformSampling< T, Dim, DeviceType, Distribution >::fill_random< GeneratorPool >::pool_m |
Definition at line 176 of file InverseTransformSampling.h.
Referenced by fill_random(), and operator()().
| view_type ippl::random::InverseTransformSampling< T, Dim, DeviceType, Distribution >::fill_random< GeneratorPool >::sample_m |
Definition at line 175 of file InverseTransformSampling.h.
Referenced by fill_random(), and operator()().
| Distribution ippl::random::InverseTransformSampling< T, Dim, DeviceType, Distribution >::fill_random< GeneratorPool >::targetdist_m |
Definition at line 174 of file InverseTransformSampling.h.
Referenced by fill_random(), and operator()().