Classes | Namespaces | Functions
RandomIC.h File Reference

Go to the source code of this file.


class  RandomIC
 RandomIC just returns a Random value. More...


 The following methods are specializations for using the libMesh::Parallel::packed_range_* routines for std::strings.


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

Function Documentation

template<typename T >
InputParameters validParams ( )

Definition at line 22 of file RandomIC.C.

23 {
25  params.addParam<Real>("min", 0.0, "Lower bound of the randomly generated values");
26  params.addParam<Real>("max", 1.0, "Upper bound of the randomly generated values");
27  params.addParam<unsigned int>("seed", 0, "Seed value for the random number generator");
28  return params;
29 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
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...
InputParameters validParams< InitialCondition >()