openmc.model.RightCircularCylinder

class openmc.model.RightCircularCylinder(center_base, height, radius, axis='z', **kwargs)[source]

Right circular cylinder composite surface

A right circular cylinder is composed of a cylinder and two planar surface perpendicular to the axis of the cylinder. 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 right circular cylinder.

New in version 0.12.

Parameters
  • center_base (iterable of float) – Cartesian coordinate of the center of the base of the cylinder

  • height (float) – Height of the cylinder

  • radius (float) – Radius of the cylinder

  • axis ({'x', 'y', 'z'}) – Axis of the cylinder

  • **kwargs – Keyword arguments passed to underlying cylinder and plane classes

Variables
  • cyl (openmc.Cylinder) – Underlying cylinder surface

  • bottom (openmc.Plane) – Bottom planar surface of the cylinder

  • top (openmc.Plane) – Top planar surface of the cylinder