|
Link-in Input files
Part of the input file can be put into a
separate ASCII file, which can be addressed from the (standard) input stream:
INLINE inlinefile
inlinefile
must be the name of the auxiliary ASCII
file (including its path, absolute or relative to the run-directory). When
inline is
encountered in the input file, adf
opens the specified file and continues reading from that file as if it were
in-line expanded into the input file. When the end-of-file is encountered
reading resumes from the original file.
The contents of the inlinefile must not end with end input, unless
you wish to terminate all input reading at that point.
InLine may occur any number of times in the input file. Use
of inline may also be
nested (up to 10 levels): the key INLINE may be used in
the inlinefile in the same fashion as in the
standard input file.
The inline feature makes
it easy to pack your preferred settings that are not matched by the program's
defaults in one file and use them in every run with a minimum of input-typing
effort. Obvious applications are output control (print) settings and precision
parameters.
Note: you can not use inline to store parallel settings,
not even by using inline on the
first line of your input and placing the parallel keyword on
the first line of the inlinefile: before opening the inlinefile and expanding it into the
inputfile, the program has already detected that the first line of input does
not specify the parallel settings.
|