pyg4ometry.geant4.solid.EllipticalTube¶
Classes¶
Constructs a tube of elliptical cross-section. |
Module Contents¶
- class pyg4ometry.geant4.solid.EllipticalTube.EllipticalTube(name, pDx, pDy, pDz, registry, lunit='mm', nstack=None, nslice=None, addRegistry=True)¶
Bases:
pyg4ometry.geant4.solid.SolidBase.SolidBaseConstructs a tube of elliptical cross-section.
- Parameters:
name (str) – name of the solid
pDx (float, Constant, Quantity, Variable, Expression) – length in x
pDy (float, Constant, Quantity, Variable, Expression) – length in y
pDz (float, Constant, Quantity, Variable, Expression) – length in z
registry (Registry) – for storing solid
lunit (str) – length unit (nm,um,mm,m,km) for solid
nslice (int) – number of phi elements for meshing
nstack (int) – number of theta elements for meshing
- pDx¶
- pDy¶
- pDz¶
- lunit¶
- nslice¶
- nstack¶
- dependents = []¶
- varNames = ['pDx', 'pDy', 'pDz']¶
- varUnits = ['lunit', 'lunit', 'lunit']¶
- __repr__()¶
- __str__()¶
- mesh()¶
new meshing based of Tubs meshing