This class encapsulates a useful, consistent, cross-platform random number generator with multiple ut...
const Elem *const & _curr_element
InputParameters validParams()
This is the templated validParams() function that every MooseObject-derived class is required to spec...
RandomInterface(const InputParameters ¶meters, FEProblemBase &problem, THREAD_ID tid, bool is_nodal)
const std::string _ri_name
void setRandomDataPointer(RandomData *random_data)
Real getRandomReal() const
Returns the next random number (Real) from the generator tied to this object (elem/node).
RandomData * _random_data
unsigned int _master_seed
void setRandomResetFrequency(ExecFlagType exec_flag)
This interface should be called from a derived class to enable random number generation in this objec...
const Node *const & _curr_node
unsigned long getRandomLong() const
Returns the next random number (long) from the generator tied to this object (elem/node).
unsigned int getSeed(std::size_t id)
Get the seed for the passed in elem/node id.
Class for containing MooseEnum item information.
FEProblemBase & _ri_problem
Keeps track of stuff related to assembling.
static InputParameters validParams()
Interface for objects that need parallel consistent random numbers without patterns over the course o...
ExecFlagType getResetOnTime() const
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
InputParameters validParams< RandomInterface >()
unsigned int getMasterSeed() const