openmc.stats.Box

class openmc.stats.Box(lower_left, upper_right, only_fissionable=False)[source]

Uniform distribution of coordinates in a rectangular cuboid.

Parameters:
  • lower_left (Iterable of float) – Lower-left coordinates of cuboid
  • upper_right (Iterable of float) – Upper-right coordinates of cuboid
  • only_fissionable (bool, optional) – Whether spatial sites should only be accepted if they occur in fissionable materials
Variables:
  • lower_left (Iterable of float) – Lower-left coordinates of cuboid
  • upper_right (Iterable of float) – Upper-right coordinates of cuboid
  • only_fissionable (bool, optional) – Whether spatial sites should only be accepted if they occur in fissionable materials
to_xml_element()[source]

Return XML representation of the box distribution

Returns:element – XML element containing box distribution data
Return type:xml.etree.ElementTree.Element