47 global_(defaultRndGen.global_),
75 if (global_ !=
rndGen.global_)
78 <<
"Attempted assignment of a " << (global_ ?
"" :
"non-")
79 <<
"global random generator to a " << (
rndGen.global_ ?
"" :
"non-")
80 <<
"global random generator"
100 is.
check(
"operator>>(Istream& is, randomGenerator& rndGen)");
109 os.
check(
"operator<<(Ostream& os, const randomGenerator& rndGen)");
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Traits class for primitives.
randomGenerator(const seed s, const bool global=false)
Construct from a seed.
void operator=(const randomGenerator &)
Copy-assignment.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
Istream & operator>>(Istream &, pistonPointEdgeData &)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
randomGenerator rndGen(653213)