WarpX
Loading...
Searching...
No Matches
ShuffleFisherYates.H File Reference
#include <AMReX_Random.H>
#include <AMReX_Scan.H>

Go to the source code of this file.

Classes

struct  IndependentPairHelper< index_type >
 

Functions

template<typename T_index>
AMREX_GPU_HOST_DEVICE AMREX_INLINE void ShuffleFisherYates (T_index *array, T_index const is, T_index const ie, amrex::RandomEngine const &engine)
 

Function Documentation

◆ ShuffleFisherYates()

template<typename T_index>
AMREX_GPU_HOST_DEVICE AMREX_INLINE void ShuffleFisherYates ( T_index * array,
T_index const is,
T_index const ie,
amrex::RandomEngine const & engine )