openmc.stats.Monodirectional¶
-
class
openmc.stats.
Monodirectional
(reference_uvw=[1.0, 0.0, 0.0])[source]¶ Monodirectional angular distribution.
A monodirectional angular distribution is one for which the polar and azimuthal angles are always the same. It is completely specified by the reference direction vector.
Parameters: reference_uvw (Iterable of float) – Direction from which polar angle is measured. Defaults to the positive x-direction. -
to_xml_element
()[source]¶ Return XML representation of the monodirectional distribution
Returns: element – XML element containing monodirectional distribution data Return type: xml.etree.ElementTree.Element
-