ksgen_value_uniform

generates a single random value drawn from a portion of a uniform distribution.

XML element: <ksgen_value_uniform>
C++ type: KSGenValueUniform
Also available as: energy_uniform, l_uniform, n_uniform, phi_uniform, pid_uniform, r_uniform, theta_uniform, time_uniform, x_uniform, y_uniform, z_uniform
Attributes

Attribute

Type

Description

name

string

the name of this value.

value_max

double

the maximum value to return.

value_min

double

the minimum value to return.

Example:

<ksgen_value_uniform name="value_uniform" value_min="-10." value_max="10."/>

Used as:

Can be referenced by:

More information

Appears in the documentation:

Used in example configurations: