nbody6ppgpu / Nbody6PPGPU-beijing

This is Nbody6++GPU, an N-body star cluster simulation code, maintained by Rainer Spurzem and team.
14 stars 16 forks source link

modify.F: fix bug overwriting crucial parameters from comm.1 #16

Closed scaedufax closed 1 year ago

scaedufax commented 1 year ago

modify.F containsa bug overwriting N from the namelist input. This leads to errors if a runs is continued, but N has changed during the run (escapers, binaries, ...).

KZ(16) & KZ(17) allow auto-adjustment of values which are overwritten by the namelist input on reruns as well.

This MR changes in modify.F:

spurzem commented 1 year ago

Thanks Uli for finding and fixing this.