pyopensn.logvol.SphereLogicalVolume
- class pyopensn.logvol.SphereLogicalVolume
Spherical logical volume.
Wrapper of
opensn::SphereLogicalVolume
.- 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.SphereLogicalVolume, **kwargs) None
Construct a spherical logical volume.
- Parameters:
r (float, default=1.0) – Radius of the sphere.
x (float, default=0.0) – X-location of the volume.
y (float, default=0.0) – Y-location of the volume.
z (float, default=0.0) – Z-location of the volume.