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


Main Page   Class Hierarchy   Compound List   File List  

GridFunctionInterface1.h

Go to the documentation of this file.
00001 
00007 #ifndef DATA_INFS1
00008 #define DATA_INFS1              const int *
00009 #endif
00010 #ifndef DATA_INFS2
00011 #define DATA_INFS2              const int *, const int *
00012 #endif
00013 #ifndef DATA_INFS3
00014 #define DATA_INFS3              const int *, const int *, const int *
00015 #endif
00016 
00017 #ifndef FORTRAN_INTERFACE
00018 #define FORTRAN_INTERFACE(D,T)    T *, name2(DATA_INFS,D), \
00019                                   const int *, const int *
00020 #endif
00021 
00022 #ifndef BBOX_INTERFACE
00023 #define BBOX_INTERFACE           const int *, const int *, const int *
00024 #endif
00025 
00026 #ifndef GF_TYPE
00027 #define GF_TYPE double
00028 #endif
00029 
00030 
00031 /* Initialization Function Interface */
00032 typedef void (*InitFunc) (
00033             FORTRAN_INTERFACE(1,GF_TYPE),
00034             BBOX_INTERFACE,
00035             char *, const int *);
00036 
00037 /* Update Function Interface */
00038 typedef void (*UpdateFunc) (
00039             FORTRAN_INTERFACE(1,GF_TYPE), FORTRAN_INTERFACE(1,GF_TYPE),
00040             BBOX_INTERFACE,
00041             char *, const int *);
00042 
00043 /* Boundary Update Function Interface */
00044 typedef void (*BndryUpdateFunc) (
00045             FORTRAN_INTERFACE(1,GF_TYPE), 
00046             BBOX_INTERFACE, 
00047             const double *, const double *, const int *,
00048             const double *, const int *, const double *,
00049             char *, const int *);
00050 
00051 /* Adaptive Boundary Update Function Interface */
00052 typedef void (*AdptBndryUpdateFunc) (
00053             FORTRAN_INTERFACE(1,GF_TYPE), 
00054             FORTRAN_INTERFACE(1,GF_TYPE), const double *,
00055             FORTRAN_INTERFACE(1,GF_TYPE), const double *,
00056             BBOX_INTERFACE,
00057             char *, const int *);
00058 
00059 /* Prolongation Function Interface */
00060 typedef void (*ProlongFunc) (
00061             FORTRAN_INTERFACE(1,GF_TYPE), FORTRAN_INTERFACE(1,GF_TYPE),
00062             BBOX_INTERFACE,
00063             char *, const int *);
00064 
00065 /* Restriction Function Interface */
00066 typedef void (*RestrictFunc) (
00067             FORTRAN_INTERFACE(1,GF_TYPE), FORTRAN_INTERFACE(1,GF_TYPE),
00068             BBOX_INTERFACE,
00069             char *, const int *);
00070 
00071 /* I/O Function Interface */
00072 typedef void (*IOFunc) (
00073             FORTRAN_INTERFACE(1,GF_TYPE),
00074             BBOX_INTERFACE,
00075             char *, const int *);


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



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