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

Ensure writes to NRES are protected. #82

Closed dtabell closed 4 years ago

dtabell commented 4 years ago

Zgoubi's OPTIONS keyword allows one to turn off (or back on) much of the output to the main output file, zgoubi.res. Since that filename is “connected” to unit number NRES, Zgoubi accomplishes this by

The (NRES .GT. 0) guard was missing in at least a couple of places. Need to find and fix any remaining.

dtabell commented 4 years ago

1) Ensured that

3) In ksmap.f, I added INCLUDE "C.CDF.H". (Bug fix.)