openmc.model.RectangularParallelepiped¶
- class openmc.model.RectangularParallelepiped(xmin, xmax, ymin, ymax, zmin, zmax, **kwargs)[source]¶
Rectangular parallelpiped composite surface
A rectangular parallelpiped is composed of six planar surfaces. This class acts as a proper surface, meaning that unary + and - operators applied to it will produce a half-space. The negative side is defined to be the region inside of the rectangular parallelpiped.
New in version 0.12.
- Parameters
xmin (float) – Minimum and maximum x coordinates of the parallelepiped
xmax (float) – Minimum and maximum x coordinates of the parallelepiped
ymin (float) – Minimum and maximum y coordinates of the parallelepiped
ymax (float) – Minimum and maximum y coordinates of the parallelepiped
zmin (float) – Minimum and maximum z coordinates of the parallelepiped
zmax (float) – Minimum and maximum z coordinates of the parallelepiped
**kwargs – Keyword arguments passed to underlying plane classes
- Variables
xmax (xmin,) – Sides of the parallelepiped
ymax (ymin,) – Sides of the parallelepiped
zmax (zmin,) – Sides of the parallelepiped