Uniform

Continuous uniform distribution.

Description

The uniform distribution is a probability distribution that has constant probability. This is a continuous uniform distribution with the probability density function:

if , then !equation f(x) = 1/(b - a)

if or , then !equation f(x) = 0

where and are the lower bound and upper bound for the uniform distribution, respectively.

Example Input Syntax

[Distributions<<<{"href": "../../syntax/Distributions/index.html"}>>>]
  [uniform]
    type = Uniform<<<{"description": "Continuous uniform distribution.", "href": "Uniform.html"}>>>
    lower_bound<<<{"description": "Distribution lower bound"}>>> = 5
    upper_bound<<<{"description": "Distribution upper bound"}>>> = 10
  []
[]
(moose/modules/stochastic_tools/test/tests/distributions/uniform.i)

Input Parameters

  • lower_bound0Distribution lower bound

    Default:0

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:Distribution lower bound

  • upper_bound1Distribution upper bound

    Default:1

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:Distribution upper bound

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

    C++ Type:std::vector<std::string>

    Controllable:No

    Description:Adds user-defined labels for accessing object parameters via control logic.

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters