Go to the source code of this file.
|
| class | MooseRandom |
| | This class encapsulates a useful, consistent, cross-platform random number generator with multiple utilities. More...
|
| |
◆ dataLoad()
template<>
| void dataLoad |
( |
std::istream & |
stream, |
|
|
MooseRandom & |
v, |
|
|
void * |
context |
|
) |
| |
|
inline |
Definition at line 191 of file MooseRandom.h.
192{
194}
void loadHelper(std::istream &stream, P &data, void *context)
Scalar helper routine.
std::unordered_map< std::size_t, std::pair< mt_state, mt_state > > _states
We store a pair of states in this map.
◆ dataStore()
template<>
| void dataStore |
( |
std::ostream & |
stream, |
|
|
MooseRandom & |
v, |
|
|
void * |
context |
|
) |
| |
|
inline |
Definition at line 185 of file MooseRandom.h.
186{
188}
void storeHelper(std::ostream &stream, P &data, void *context)
Scalar helper routine.