openmc.stats.CartesianIndependent

class openmc.stats.CartesianIndependent(x: openmc.stats.Univariate, y: openmc.stats.Univariate, z: openmc.stats.Univariate)[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: Element)[source]

Generate spatial distribution from an XML element

Parameters

elem (lxml.etree._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

lxml.etree._Element