|
Beginning with NJOY97, the standard Fortran "read *" method is
used to read input quantities and strings. Earlier versions
used a home-grown scheme with similar properties. The main
difference between these two approaches is that the new one
delimits string data with single quote characters, but the old
one used star characters.
All input is free form, and different quantities can be separated
with spaces or commas. Numerical quantities can be given with
or without decimals, and "E" or "e" can be used for scientific
notation. String input consisting of single words that start
with an alphabetic character do not require delimiters. Longer
strings with spaces and special characters must be surrounded
by single quote characters.
Lines of input for NJOY are often organized so that the parameters
at the ends of the lines have default values. Therefore, you
can often stop giving numbers before the entire I/O list is
exhausted by using the slash (/), or division sign, character.
Some examples follow:
|