www.mooseframework.org
Classes | Functions
RandomInterface.h File Reference

Go to the source code of this file.

Classes

class  RandomInterface
 Interface for objects that need parallel consistent random numbers without patterns over the course of multiple runs. More...
 

Functions

template<typename T >
InputParameters validParams ()
 
template<>
InputParameters validParams< RandomInterface > ()
 

Function Documentation

template<typename T >
InputParameters validParams ( )

Definition at line 24 of file RandomInterface.C.

Referenced by validParams< AuxKernel >(), validParams< ElementUserObject >(), validParams< IntegratedBC >(), validParams< KernelBase >(), validParams< Material >(), validParams< NodalBC >(), validParams< NodalKernel >(), and validParams< NodalUserObject >().

25 {
27  params.addParam<unsigned int>("seed", 0, "The seed for the master random number generator");
28 
29  params.addParamNamesToGroup("seed", "Advanced");
30  return params;
31 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters emptyInputParameters()
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...
void addParamNamesToGroup(const std::string &space_delim_names, const std::string group_name)
This method takes a space delimited list of parameter names and adds them to the specified group name...