openmc.stats.Uniform¶
-
class
openmc.stats.
Uniform
(a=0.0, b=1.0)[source]¶ Distribution with constant probability over a finite interval [a,b]
Parameters: Variables: -
to_xml_element
(element_name)[source]¶ Return XML representation of the uniform distribution
Parameters: element_name (str) – XML element name Returns: element – XML element containing uniform distribution data Return type: xml.etree.ElementTree.Element
-