www.mooseframework.org
Functions
RandomIC.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< RandomIC > ()
 

Function Documentation

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 >()