Celeritas  0.5.0-56+6b053cd
Public Member Functions | List of all members
celeritas::XorwowRngParams Class Referencefinal

Shared data for XORWOW pseudo-random number generator. More...

#include <XorwowRngParams.hh>

Inheritance diagram for celeritas::XorwowRngParams:
Inheritance graph
[legend]

Public Member Functions

 XorwowRngParams (unsigned int seed)
 Construct with a low-entropy seed.
 
HostRef const & host_ref () const final
 Access material properties on the host. More...
 
DeviceRef const & device_ref () const final
 Access material properties on the device.
 
- Public Member Functions inherited from celeritas::ParamsDataInterface< XorwowRngParamsData >
XorwowRngParamsData< Ownership::const_reference, M > const & ref () const
 Dispatch a "ref" call to host or device data.
 

Additional Inherited Members

- Public Types inherited from celeritas::ParamsDataInterface< XorwowRngParamsData >
using HostRef = HostCRef< XorwowRngParamsData >
 
using DeviceRef = DeviceCRef< XorwowRngParamsData >
 
- Protected Member Functions inherited from celeritas::ParamsDataInterface< XorwowRngParamsData >
 CELER_DEFAULT_COPY_MOVE (ParamsDataInterface)
 

Detailed Description

Shared data for XORWOW pseudo-random number generator.

Member Function Documentation

◆ host_ref()

HostRef const& celeritas::XorwowRngParams::host_ref ( ) const
inlinefinalvirtual

Access material properties on the host.

Todo:
Construct with a seed of 256 bytes (16-byte hex) or shasum string

Implements celeritas::ParamsDataInterface< XorwowRngParamsData >.


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