smirik / mercury

N-body fortran integrator
GNU General Public License v3.0
60 stars 24 forks source link

Source fixes to mercury6_2.for, close6.for, and element6.for #10

Closed texadactyl closed 6 years ago

texadactyl commented 6 years ago

mercury6_2.for: c texadactyl_20180507.1 Handle warnings in mio_err() calls about character string lengths c texadactyl_20180507.2 Handle warnings in mio_spl() calls about argument array bounds too small c texadactyl_20180507.3 nnn open(..., err=nnn) is an infinite loop c If one cannot open a file for output, let the program fail. c texadactyl_20180514.1 Once CMAX is exceeded by variable the nclo counter, c this will cause memory out of bounds errors. c texadactyl_20180514.2 Return a nonzero error code to the O/S from mio_err(). c Repeat info.out diagnostic on the operator console.

close6.for c texadactyl_20180507.1 Handle warnings in mio_err() calls about character string lengths c texadactyl_20180507.2 Handle warnings in mio_spl() calls about argument array bounds too small c texadactyl_20180507.5 Fix mishandling of infile(j) - needs to be filled out with spaces

element6.for c texadactyl_20180507.1 Handle warnings in mio_err() calls about character string lengths c texadactyl_20180507.2 Handle warnings in mio_spl() calls about argument array bounds too small c texadactyl_20180507.3 wrong string length in argument to mio_err() c texadactyl_20180507.4 debugging statements when debugging = 1 c texadactyl_20180507.5 Fix mishandling of infile(j) - needs to be filled out with spaces