openmc.model.ZConeOneSided

class openmc.model.ZConeOneSided(x0=0.0, y0=0.0, z0=0.0, r2=1.0, up=True, **kwargs)[source]

One-sided cone parallel the z-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.ZCone) – Regular two-sided cone
  • plane (openmc.ZPlane) – 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)