AMROC Main     Blockstructured Adaptive Mesh Refinement in object-oriented C++


Main Page   Class Hierarchy   Compound List   File List  

DAGHFortranInterfaces.h File Reference

Define the Fortran name mangling convention for various machines. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define FORTRAN_NAME(x, y, z)   x
 Define the Fortran name mangling convention for various machines AIX (-qextname):all lowercase, trailing underscore Cray, nCUBE/2: all uppercase, no trailing underscore otherwise: all lowercase, trailing underscore.

#define DATA_ARGS1(X)   &((X).extents()(0))
#define DATA_ARGS2(X)   &((X).extents()(0)), &((X).extents()(1))
#define DATA_ARGS3(X)   &((X).extents()(0)), &((X).extents()(1)), &((X).extents()(2))
#define ARRAY_ARGS1(X)   (X)[0]
#define ARRAY_ARGS2(X)   (X)[0], (X)[1]
#define ARRAY_ARGS3(X)   (X)[0], (X)[1], (X)[2]
#define DATA_INFS1   INTEGER *
#define DATA_INFS2   INTEGER *, INTEGER *
#define DATA_INFS3   INTEGER *, INTEGER *, INTEGER *
#define LOCAL_FORTRAN_ARGS(D, X)
#define LFA   LOCAL_FORTRAN_ARGS
#define LOCAL_FORTRAN_INTERFACE(D, T)
#define LFI   LOCAL_FORTRAN_INTERFACE
#define LOCAL_BBOX_ARGS(X)
#define LBA   LOCAL_BBOX_ARGS
#define LOCAL_BBOX_INTERFACE   INTEGER *, INTEGER *, INTEGER *
#define LBI   LOCAL_BBOX_INTERFACE
#define GLOBAL_FORTRAN_ARGS(D, X)
#define GFA   GLOBAL_FORTRAN_ARGS
#define GLOBAL_FORTRAN_INTERFACE(D, T)
#define GFI   GLOBAL_FORTRAN_INTERFACE
#define GLOBAL_BBOX_ARGS(X)
#define GBA   GLOBAL_BBOX_ARGS
#define GLOBAL_BBOX_INTERFACE   INTEGER *, INTEGER *, INTEGER *, INTEGER *
#define GBI   GLOBAL_BBOX_INTERFACE
#define WORLD_FORTRAN_ARGS(D, GH, X)
#define WFA   WORLD_FORTRAN_ARGS
#define WORLD_FORTRAN_INTERFACE(T)
#define WFI   WORLD_FORTRAN_INTERFACE
#define WORLD_BBOX_ARGS(GH, X)
#define WBA   WORLD_BBOX_ARGS
#define WORLD_BBOX_INTERFACE   DOUBLE *, DOUBLE *, DOUBLE *, INTEGER *
#define WBI   WORLD_BBOX_INTERFACE
#define DATA_ARGUMENT(X)   (X).data()
#define DA   DATA_ARGUMENT
#define DATA_INTERFACE(T)   T *
#define DI   DATA_INTERFACE
#define FORTRAN_ARGS(D, X)
#define FA   FORTRAN_ARGS
#define FORTRAN_INTERFACE(D, T)
#define FI   FORTRAN_INTERFACE
#define BOUNDING_BOX(X)
#define BB   BOUNDING_BOX
#define BBOX_INTERFACE   INTEGER *, INTEGER *, INTEGER *
#define BI   BBOX_INTERFACE
#define FORTRAN_DATA_INTERFACE(T)   T *
#define FDI   FORTRAN_DATA_INTERFACE
#define FDA(X)   (X).data()
#define FBA   BOUNDING_BOX
#define ARRAY_ARGUMENTS(D, X)   name2(ARRAY_ARGS,D)(X)
#define AA   ARRAY_ARGUMENTS


Detailed Description

Define the Fortran name mangling convention for various machines.

Author:
Manish Parashar

Definition in file DAGHFortranInterfaces.h.


Define Documentation

#define BOUNDING_BOX  
 

Value:

(X).lower(), \
                                (X).upper(), \
                                (X).extents()

Definition at line 164 of file DAGHFortranInterfaces.h.

#define FORTRAN_ARGS D,
 
 

Value:

(X).data(), name2(DATA_ARGS,D)(X), \
                                  (X).lower(), \
                                  (X).upper()

Definition at line 151 of file DAGHFortranInterfaces.h.

#define FORTRAN_INTERFACE D,
 
 

Value:

T *, name2(DATA_INFS,D), \
                                  INTEGER *, INTEGER *

Definition at line 158 of file DAGHFortranInterfaces.h.

#define GLOBAL_BBOX_ARGS  
 

Value:

(X).lower(), \
                                        (X).upper(), \
                                        (X).stepsize(), \
                                        (X).extents()

Definition at line 99 of file DAGHFortranInterfaces.h.

#define GLOBAL_FORTRAN_ARGS D,
 
 

Value:

(X).data(), name2(DATA_ARGS,D)(X), \
                                        (X).lower(), \
                                        (X).upper(), \
                                        (X).stepsize()

Definition at line 85 of file DAGHFortranInterfaces.h.

#define GLOBAL_FORTRAN_INTERFACE D,
 
 

Value:

T *,  name2(DATA_INFS,D), \
                                        INTEGER *, INTEGER *, INTEGER *

Definition at line 93 of file DAGHFortranInterfaces.h.

#define LOCAL_BBOX_ARGS  
 

Value:

(X).lower()/(X).stepsize(), \
                                        (X).upper()/(X).stepsize(), \
                                        (X).extents()

Definition at line 72 of file DAGHFortranInterfaces.h.

#define LOCAL_FORTRAN_ARGS D,
 
 

Value:

(X).data(), name2(DATA_ARGS,D)(X),\
                                        (X).lower()/(X).stepsize(), \
                                        (X).upper()/(X).stepsize()

Definition at line 59 of file DAGHFortranInterfaces.h.

#define LOCAL_FORTRAN_INTERFACE D,
 
 

Value:

T *, name2(DATA_INFS,D), \
                                        INTEGER *, INTEGER *

Definition at line 66 of file DAGHFortranInterfaces.h.

#define WORLD_BBOX_ARGS GH,
 
 

Value:

(GH).worldCoordsLower((X).lower(),(X).stepsize()), \
                                        (GH).worldCoordsUpper((X).upper(),(X).stepsize()), \
                                        (GH).worldStep((X).stepsize())

Definition at line 127 of file DAGHFortranInterfaces.h.

#define WORLD_FORTRAN_ARGS D,
GH,
 
 

Value:

(X).data(), name2(DATA_ARGS,D)(X), \
                                        (GH).worldCoordsLower((X).lower(),(X).stepsize()), \
                                        (GH).worldCoordsUpper((X).upper(),(X).stepsize()), \
                                        (GH).worldStep((X).stepsize())

Definition at line 113 of file DAGHFortranInterfaces.h.

#define WORLD_FORTRAN_INTERFACE  
 

Value:

T *, name2(DATA_INFS,D), \
                                        DOUBLE *, DOUBLE *, DOUBLE *

Definition at line 121 of file DAGHFortranInterfaces.h.


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



AMROC Main      Home      Contact
last update: 06/01/04