openmc.model.CruciformPrism¶
- class openmc.model.CruciformPrism(distances, center=(0.0, 0.0), axis='z', **kwargs)[source]¶
Generalized cruciform prism
This surface represents a prism parallel to an axis formed by planes at multiple distances from the center. Equivalent to the ‘gcross’ derived surface in Serpent.
New in version 0.14.0.
- Parameters
distances (iterable of float) – A monotonically increasing (or decreasing) iterable of distances in [cm] that form the planes of the generalized cruciform.
center (iterable of float) – The center of the prism in the two non-parallel axes (e.g., (x, y) when axis is ‘z’) in [cm]
axis ({'x', 'y', 'z'}) – Axis to which the prism is parallel
**kwargs – Keyword arguments passed to underlying plane classes