radiasoft / zgoubi

Git repo for zgoubi source code
https://sourceforge.net/projects/zgoubi/
GNU General Public License v2.0
9 stars 3 forks source link

Read PARIZ values from zgoubi.dat #55

Open rouson opened 5 years ago

rouson commented 5 years ago

The zgoubi.dat input file contains the field map name and the values of the pariz.nml variables. For example, in the warmSnake example, line 22 starts with

801 29 29

which indicates that

MXX=801, MXY=29, IZ=29

Additionally, ID may always be set to 3 and some default value of MMAP may be chosen based on the desired maximum number of maps. The choiceMMAP=8 covers almost all cases of current interest.