10.96 ROTATE—An element that rotates the beam about the longitudinal axis.

An element that rotates the beam about the longitudinal axis.
Parallel capable? : yes
GPU capable? : yes
Back-tracking capable? : yes






Parameter Name UnitsType Default

Description






TILT RADdouble0.0

rotation about longitudinal axis






EXCLUDE_FLOOR short 0

if non-zero, does not affect the floor coordinates






EXCLUDE_OPTICS short 0

if non-zero, does not affect the optics (i.e., transfer matrix is unit matrix)






GROUP string NULL

Optionally used to assign an element to a group, with a user-defined name. Group names will appear in the parameter output file in the column ElementGroup






The sign convention for the TILT parameter is confusing on this element. In particular, a positive TILT rotates the beam counter-clockwise about the longitudinal axis. This is the opposite sense to rotations of elements, where a positive TILT rotates the element clockwise about the longitudinal axis.

Hence, if one wanted to rotate a series of elements by 0.1 rad, one could do the following:

ROT1: ROTATE,TILT=0.1  
ROT2: ROTATE,TILT=-0.1  
BL: line=(ROT1,...,ROT2)

The TILT value for ROT1 is the same (including the sign) as the individual TILT values one would give to all the elements represented by ....

SAMPLE