next up previous contents
Next: C Up: Using ADM Macros Previous: Using ADM Macros   Contents

Fortran

If you are using the macros inside a Fortran function then the i, j and k indices are used directly.

If you're using (either directly or indirectly) any macro which computes derivatives, you also need to #include two additional files:

ADM_Spacing_declare.h

This must be #included before any of the other <MACRONAME>_declare.h files.
ADM_Spacing.h

This must be #included after all of the other <MACRONAME>_declare.h and before any of the <MACRONAME>_guts.h files.

The Fortran example below should make this clear(er).