EUROPEAN ORGANIZATION FOR NUCLEAR RESEARCH

PTC_DUMPMAPS

USER MANUAL

SYNOPSIS


PTC_DUMPMAPS, 
file     = [s, ptcmaps, ptcmaps];

implemented by subroutine ptc_dumpmaps() in madx_ptc_module.f90

Description

PTC_DUMPMAPS dumps linear part of the map for each element of the layout into specified file.

Command parameters and switches

file
string, default value "ptcmaps", default value if value explicitly not specified is "ptcmaps"

Specifies name of the file to which the matrices are dumped to.

PROGRAMMERS MANUAL

The command is implemented by subroutine ptc_dumpmaps() in madx_ptc_module.f90. The matrix for a single element is obtained by tracking identity map through an element, that is initialized for each element by adding identity map to the reference particle. For the elements that change reference momentum (i.e. traveling wave cavity) it is tracked to the end of the following marker, that has updated reference momentum. Hence, each cavity must be followed by a marker. If it is not, setcavities subroutine detects error and stops the program.