Celeritas 0.7.0-dev.224+develop.84a24a8b
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
celeritas::RanluxppRngParamsDataImpl Struct Reference

Persistent trivially copiable data for the Ranluxpp random number generator. More...

#include <RanluxppRngData.hh>

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

Public Member Functions

CELER_CONSTEXPR_FUNCTION operator bool () const
 FUNCTIONS //// Whether the data is assigned.
 

Public Attributes

RanluxppUInt seed = 0
 User-provided seed.
 
RanluxppArray9 advance_state
 Stores \(a^2048 mod m\) for RCARRY values of \(a\) and \(m\).
 
RanluxppArray9 advance_sequence
 Stores \(a^(2048 * (2^96)) mod m\).
 

Static Public Attributes

static constexpr int max_position = sizeof(RanluxppArray9) * 8
 Maximum bit position in the state.
 

Detailed Description

Persistent trivially copiable data for the Ranluxpp random number generator.


The documentation for this struct was generated from the following file: