Celeritas 0.6.0-2+develop.96611fab
Loading...
Searching...
No Matches
Classes | Functions
CachedRngEngine.hh File Reference
#include "corecel/Assert.hh"
#include "corecel/Types.hh"
#include "corecel/cont/Array.hh"
#include "corecel/math/NumericLimits.hh"
#include "corecel/random/distribution/GenerateCanonical.hh"
#include "corecel/random/distribution/detail/GenerateCanonical32.hh"
This graph shows which files directly or indirectly include this file:

Classes

class  celeritas::CachedRngEngine< Engine, N >
 Store several PRNG engine results and return them. More...
 
struct  celeritas::GenerateCanonical< CachedRngEngine< Engine, Bytes >, RealType >
 Specialization of GenerateCanonical for cached engine. More...
 

Functions

template<size_type N, class Engine >
CELER_FUNCTION auto celeritas::cache_rng_count (Engine &e)
 Return an RNG with the given number of calls cached.
 
template<class T , size_type Count, class Engine >
CELER_FUNCTION auto celeritas::cache_rng_values (Engine &e)
 Return an RNG with enough space to return Count of type T.