openmc.stats.Maxwell

class openmc.stats.Maxwell(theta)[source]

Maxwellian distribution in energy.

The Maxwellian distribution in energy is characterized by a single parameter :math:` heta` and has a density function \(p(E) dE = c E e^{-E/ heta} dE\).

Parameters:theta (float) – Effective temperature for distribution
Variables:theta (float) – Effective temperature for distribution
to_xml_element(element_name)[source]

Return XML representation of the Maxwellian distribution

Parameters:element_name (str) – XML element name
Returns:element – XML element containing Maxwellian distribution data
Return type:xml.etree.ElementTree.Element