Micromap Library was built to perform tracking of single particle and multiparticle beam. The library is composed of two parts: the first for single particle tracking, and the second (which uses the first) for multiparticle tracking.
Since the library uses an number of internal variables in commons,
commons have been gathered in commons file
which must be included at the beginning of the main file.
The single particle mode of micromap is obtained by using the
initialization routine initimml.
An input file containing the lattice
must be declared.
Here there is an example
of a main program for single particle tracking.
The 2D beam tracking mode is obtaining initializing the
main program with initiparameter.
Since many beam parameters and simulation parameters must be set,
another input file must be provided. This file must have the standard
name parameter-micromap.
Here there is an example.