GfsInclude

From Gerris

(Difference between revisions)
Jump to: navigation, search
Revision as of 16:32, 7 August 2012
GeordieMcBain (Talk | contribs)
(new file, deduced from src/m4.awk)
← Previous diff
Current revision
EmilyMLane (Talk | contribs)

Line 2: Line 2:
Included content may use macros defined elsewhere in the file by [[GfsDefine]] but cannot contain new definitions. Included content may use macros defined elsewhere in the file by [[GfsDefine]] but cannot contain new definitions.
 +
 +When using GfsInclude you need to use the -m flag for macros when running Gerris. Otherwise it gives you a message "Unknown keyword: Include."

Current revision

GfsInclude is used to include the content of another file inside an input file, much like the #include directive of the C preprocessor (and still more like the include macro of m4).

Included content may use macros defined elsewhere in the file by GfsDefine but cannot contain new definitions.

When using GfsInclude you need to use the -m flag for macros when running Gerris. Otherwise it gives you a message "Unknown keyword: Include."

Personal tools
communication