openmc.model.XConeOneSided¶
-
class
openmc.model.
XConeOneSided
(x0=0.0, y0=0.0, z0=0.0, r2=1.0, up=True, **kwargs)[source]¶ One-sided cone parallel the x-axis
A one-sided cone is composed of a normal cone surface and an “ambiguity” surface that eliminates the ambiguity as to which region of space is included. 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 cone.
New in version 0.12.
Parameters: - x0 (float, optional) – x-coordinate of the apex. Defaults to 0.
- y0 (float, optional) – y-coordinate of the apex. Defaults to 0.
- z0 (float, optional) – z-coordinate of the apex. Defaults to 0.
- r2 (float, optional) – Parameter related to the aperature. Defaults to 1.
- up (bool) – Whether to select the side of the cone that extends to infinity in the positive direction of the coordinate axis (the positive half-space of the ambiguity plane)
- **kwargs – Keyword arguments passed to underlying plane classes
Variables: - cone (openmc.XCone) – Regular two-sided cone
- plane (openmc.XPlane) – Ambiguity surface
- up (bool) – Whether to select the side of the cone that extends to infinity in the positive direction of the coordinate axis (the positive half-space of the ambiguity plane)