pyopensn.logvol.RPPLogicalVolume
- class pyopensn.logvol.RPPLogicalVolume
Rectangular parallel piped logical volume.
Wrapper of
opensn::RPPLogicalVolume
.- 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.RPPLogicalVolume, **kwargs) None
Construct an RPP logical volume.
- Parameters:
xmin (float, default=0.0) – X-min of the volume.
xmax (float, default=1.0) – X-max of the volume.
ymin (float, default=0.0) – Y-min of the volume.
ymax (float, default=1.0) – Y-max of the volume.
zmin (float, default=0.0) – Z-min of the volume.
zmax (float, default=1.0) – Z-max of the volume.
infx (bool, default=False) – Flag, when true, will ignore xmin and xmax.
infy (bool, default=False) – Flag, when true, will ignore ymin and ymax.
infz (bool, default=False) – Flag, when true, will ignore zmin and zmax.