pyg4ometry.geant4.solid.TwistedTrd¶
Classes¶
Constructs a twisted general trapezoid. |
Module Contents¶
- class pyg4ometry.geant4.solid.TwistedTrd.TwistedTrd(name, twistedangle, pDx1, pDx2, pDy1, pDy2, pDz, registry, lunit='mm', aunit='rad', nstack=None, refine=0, addRegistry=True)¶
Bases:
pyg4ometry.geant4.solid.SolidBase.SolidBase,pyg4ometry.geant4.solid.TwistedSolid.TwistedSolidConstructs a twisted general trapezoid.
- Parameters:
name (str) – of solid
twistedangle (float, Constant, Quantity, Variable, Expression) – twist angle, must be less than 0.5*pi
pDx1 (float, Constant, Quantity, Variable, Expression) – length in x at surface positioned at -pDz/2
pDx2 (float, Constant, Quantity, Variable, Expression) – length in x at surface positioned at +pDz/2
pDy1 (float, Constant, Quantity, Variable, Expression) – length in y at surface positioned at -pDz/2
pDy2 (float, Constant, Quantity, Variable, Expression) – length in y at surface positioned at +pDz/2
pDz (float, Constant, Quantity, Variable, Expression) – length in z
refine (int) – number of steps to iteratively smoothen the mesh by doubling the number of vertices at every step
registry (Registry) – for storing solid
lunit (str) – length unit (nm,um,mm,m,km) for solid
aunit (str) – angle unit (rad,deg) for solid
nstack (int) – number of theta elements for meshing
- twistedAngle¶
- pDx1¶
- pDx2¶
- pDy1¶
- pDy2¶
- pDz¶
- lunit¶
- aunit¶
- nstack¶
- refine¶
- dependents = []¶
- varNames = ['twistedAngle', 'pDx1', 'pDx2', 'pDy1', 'pDy2', 'pDz']¶
- varUnits = ['aunit', 'lunit', 'lunit', 'lunit', 'lunit', 'lunit']¶
- __repr__()¶
- __str__()¶
- checkParameters()¶
- makeLayers(pl1, pl2, pl3, pl4, pu1, pu2, pu3, pu4, pDz, theta, nsl)¶
- mesh()¶