ksgen_value_radius_spherical
generates a single random value drawn from a distribution suitable for randomly distributing radii in spherical coordinates.
<ksgen_value_radius_spherical>KSGenValueRadiusSphericalr_sphericalAttribute |
Type |
Description |
|---|---|---|
|
|
the name of this value. |
|
|
the maximum radius in meters to return. must be positive and greater than radius_min. |
|
|
the minimum radius in meters to return. must be positive and less than radius_max. |
Example:
<ksgen_value_radius_spherical name="value_radius_spherical" radius_min="5." radius_max="10."/>
Used as:
<ksgen_value_radius_spherical>in <kassiopeia><r_spherical>in <ksgen_position_spherical_composite>
Can be referenced by:
thetaof <ksgen_direction_surface_composite>energyof <ksgen_energy_composite>l_valueof <ksgen_l_composite>n_valueof <ksgen_n_composite>phiof <ksgen_position_flux_tube>thetaof <ksgen_position_spherical_composite>phiof <ksgen_spin_composite>thetaof <ksgen_spin_composite>thetaof <ksgen_spin_composite_relative>time_valueof <ksgen_time_composite>
More information
Appears in the documentation: