openmc.stats.CartesianIndependent

class openmc.stats.CartesianIndependent(x, y, z)[source]

Spatial distribution with independent x, y, and z distributions.

This distribution allows one to specify coordinates whose x-, y-, and z- components are sampled independently from one another.

Parameters:
Variables:
classmethod from_xml_element(elem)[source]

Generate spatial distribution from an XML element

Parameters:elem (xml.etree.ElementTree.Element) – XML element
Returns:Spatial distribution generated from XML element
Return type:openmc.stats.CartesianIndependent
to_xml_element()[source]

Return XML representation of the spatial distribution

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