diff options
Diffstat (limited to 'src/ioPandaGH.h')
-rw-r--r-- | src/ioPandaGH.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/ioPandaGH.h b/src/ioPandaGH.h index d066d37..7434e1f 100644 --- a/src/ioPandaGH.h +++ b/src/ioPandaGH.h @@ -12,15 +12,21 @@ #define _IOPANDA_IOPANDAGH_H_ 1 #include "StoreNamedData.h" +#include "CactusBase/IOUtil/src/ioutil_Utils.h" -typedef struct IOPandaGH +#ifdef __cplusplus +extern "C" +{ +#endif + +typedef struct { /* the number of times to output */ int out_every; - /* flags indicating output for variable[i] */ - char *do_out; + /* I/O request descriptions for all CCTK variables */ + ioRequest **requests; /* directory in which to output */ char *outdir; @@ -30,11 +36,6 @@ typedef struct IOPandaGH } pandaGH; -#ifdef __cplusplus -extern "C" -{ -#endif - /* prototypes of functions to be registered as IOPanda's IO method */ int IOPanda_OutputGH (const cGH *GH); int IOPanda_TriggerOutput (const cGH *GH, int); |