A collimating element that sets the maximum transmitted particle amplitudes for all following elements,
until the next MAXAMP.
Parallel capable? : yes
GPU capable? : yes
Back-tracking capable? : yes
Parameter Name | Units | Type | Default | Description |
X_MAX | M | double | 0.0 | x half-aperture |
Y_MAX | M | double | 0.0 | y half-aperture |
ELLIPTICAL | long | 0 | is aperture elliptical? |
|
EXPONENT | long | 2 | exponent for boundary equation in elliptical mode. 2 is a true ellipse. |
|
YEXPONENT | long | 0 | y exponent for boundary equation in elliptical mode. If zero, defaults to EXPONENT. |
|
OPEN_SIDE | STRING | NULL | which side, if any, is open (+x, -x, +y, -y) |
|
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 |
|
This element sets the aperture for itself and all subsequent elements. The settings are in force until another MAXAMP element is seen. Settings are also enforced inside of KQUAD, KSEXT, KOCT, KQUSE, CSBEND, and CSRCSBEND elements.
This can introduce unexpected behavior when beamlines are reflected. For example, consider the beamline
This is equivalent to
Note that the aperture MA1 is the aperture for all of the first instance of beamline L1, but that MA2 is the aperture for the second instance, -L1. This is probably not what was intended. To prevent this, it is recommended to always use MAXAMP elements in pairs:
which is equivalent to
Now, both instances of L1 have the aperture defined by MA1 and both instances of L2 have the aperture defined by MA2.
The default values of X_MAX and Y_MAX are 0, which causes the aperture to be ignored. This means one cannot use the MAXAMP element to simulate a completely blocked beam pipe.
MBUMPER