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 a coordinates whose x-, y-, and z- components are sampled independently from one another.
Parameters: - x (openmc.stats.Univariate) – Distribution of x-coordinates
- y (openmc.stats.Univariate) – Distribution of y-coordinates
- z (openmc.stats.Univariate) – Distribution of z-coordinates
Variables: - x (openmc.stats.Univariate) – Distribution of x-coordinates
- y (openmc.stats.Univariate) – Distribution of y-coordinates
- z (openmc.stats.Univariate) – Distribution of z-coordinates
-
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