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 a<x<ba < x < b, then !equation f(x) = 1/(b - a)

if x>bx > b or x<ax < a, then !equation f(x) = 0

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

Example Input Syntax

[Distributions]
  [uniform]
    type = Uniform
    lower_bound = 5
    upper_bound = 10
  []
[]
(contrib/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>

    Unit:(no unit assumed)

    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

    Unit:(no unit assumed)

    Controllable:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters