pyopensn.logvol.RCCLogicalVolume

class pyopensn.logvol.RCCLogicalVolume

Right circular cylinder logical volume.

Wrapper of opensn::RCCLogicalVolume.

Inside(self: pyopensn.logvol.LogicalVolume, point: pyopensn.math.Vector3) bool

Check if a point is inside or outside the logical volume.

__init__(self: pyopensn.logvol.RCCLogicalVolume, **kwargs) None

Construct an RCC logical volume.

Parameters:
  • r (float, default=1.0) – Radius of the sphere.

  • x0 (float, default=0.0) – X-coordinate of the volume base.

  • y0 (float, default=0.0) – Y-coordinate of the volume base.

  • z0 (float, default=0.0) – Z-coordinate of the volume base.

  • vx (float, default=0.0) – X-component of the volume extrusion vector.

  • vy (float, default=0.0) – Y-component of the volume extrusion vector.

  • vz (float, default=1.0) – Z-component of the volume extrusion vector.