openmc.model.IsogonalOctagon¶
- class openmc.model.IsogonalOctagon(center, r1, r2, axis='z', **kwargs)[source]¶
Infinite isogonal octagon composite surface
An isogonal octagon is composed of eight planar surfaces. The prism is parallel to the x, y, or z axis. The remaining two axes (y and z, x and z, or x and y) serve as a basis for constructing the surfaces. Two surfaces are parallel to the first basis axis, two surfaces are parallel to the second basis axis, and the remaining four surfaces intersect both basis axes at 45 degree angles.
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 octagonal prism.
New in version 0.13.1.
- Parameters
center (iterable of float) – Coordinate for the central axis of the octagon in the (y, z), (x, z), or (x, y) basis depending on the axis parameter.
r1 (float) – Half-width of octagon across its basis axis-parallel sides in units of cm. Must be less than \(r_2\sqrt{2}\).
r2 (float) – Half-width of octagon across its basis axis intersecting sides in units of cm. Must be less than than \(r_1\sqrt{2}\).
axis ({'x', 'y', 'z'}) – Central axis of octagon. Defaults to ‘z’
**kwargs – Keyword arguments passed to underlying plane classes
- Variables
top (openmc.ZPlane, openmc.XPlane, or openmc.YPlane) – Top planar surface of octagon
bottom (openmc.ZPlane, openmc.XPlane, or openmc.YPlane) – Bottom planar surface of octagon
right (openmc.YPlane, openmc.ZPlane, or openmc.XPlane) – Right planar surface of octagon
left (openmc.YPlane, openmc.ZPlane, or openmc.XPlane) – Left planar surface of octagon
upper_right (openmc.Plane) – Upper right planar surface of octagon
lower_right (openmc.Plane) – Lower right planar surface of octagon
lower_left (openmc.Plane) – Lower left planar surface of octagon
upper_left (openmc.Plane) – Upper left planar surface of octagon