Go to the source code of this file.
◆ dataLoad()
Definition at line 152 of file MooseRandomPerturbation.h.
153{
154 uint64_t seed;
155 unsigned int n, rounds;
159 v = std::make_unique<MooseRandomPerturbation>(seed, n, rounds);
160}
void dataLoad(std::istream &stream, std::unique_ptr< MooseRandomPerturbation > &v, void *context)
Referenced by dataLoad().
◆ dataStore() [1/2]
Definition at line 135 of file MooseRandomPerturbation.h.
136{
137 uint64_t seed = (
static_cast<uint64_t
>(v.
_k1) << 32) | v.
_k0;
141}
void dataStore(std::ostream &stream, MooseRandomPerturbation &v, void *context)
const uint32_t _k0
Lower 32 bits of the seed, used as the first subkey in the round function.
const unsigned int _n
Size of the permutation domain [0, n)
const uint32_t _k1
Upper 32 bits of the seed, used as the second subkey in the round function.
const unsigned int _rounds
Number of Feistel rounds to apply per permute/invert call.
Referenced by dataStore().
◆ dataStore() [2/2]