Next: Visualization, Previous: Installation, Up: Top
The beamline, beam properties and physics processes are specified in the input
file written in the GMAD language which is a variation of MAD-X language
extended to handle sophisticated geometry and parameters relevant
to radiation transport.
GMAD is described in this section.
Examples of input files can be found in the BDSIM
distribution in the
examples
directory.
In order to convert a MAD file into a GMAD one, a utility called
mad2gmad.sh
is provided in the utils
directory.
The following MAD commands are not supported:
The following MAD commands:
moni
monitor
wire
prof
marker
command.
[1] To dump the optical properties of the lattice
one can invoke bdsim
with the --outline=file.txt
--outline_type=optics
options.
[2] To compute the coordinates of all machine
elements in a global reference system one can invoke bdsim
with the
--outline=file.txt --outline_type=survey
options