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

Go to the source code of this file.

Classes

class  UniformDistribution
 A class used to generate uniform distribution. More...
 

Functions

template<>
InputParameters validParams< UniformDistribution > ()
 

Function Documentation

template<>
InputParameters validParams< UniformDistribution > ( )

Definition at line 12 of file UniformDistribution.C.

13 {
14  InputParameters params = validParams<Distribution>();
15  params.addClassDescription("Continuous uniform distribution.");
16  params.addParam<Real>("lower_bound", 0.0, "Distribution lower bound");
17  params.addParam<Real>("upper_bound", 1.0, "Distribution upper bound");
18  return params;
19 }