ELEMENT DEFINITION: BMONITOR

This is a thin element. When the flag nbpm=1 a particle coordinates are saved in a file of unit nunit. The flag nbpm is part of the common 'common-mml-lattice'

The definition of this element is

Element name, 1st number,
BMONITOR, nunit

The data of this element are stored in the matrix alat(n,m). The first index in alat identifies the lattice element as found in the sequence of elements loaded from the lattice file. The number of elements is NELMAX. In the variable alength is stored the lattice length.

alat(n,1) = //
alat(n,2) = 16 ( number coding the type of element) ;
alat(n,3) = longitudinal coordinate at the enter face of the n-th lattice element;
alat(n,4) = longitudinal coordinate at the exit face of the n-th lattice element;
alat(n,5) = nunit;
alat(n,6) = //
alat(n,7) = //
alat(n,8) = //
alat(n,9) = //
alat(n,10) = //
alat(n,11) = length of the n-th element [m]
alat(n,12) = //
alat(n,13) = //