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.
- classmethod from_xml_element(elem)[source]¶
Generate monodirectional distribution from an XML element
- Parameters
elem (xml.etree.ElementTree.Element) – XML element
- Returns
Monodirectional distribution generated from XML element
- Return type