aboutsummaryrefslogtreecommitdiff
path: root/src/ioPandaGH.h
diff options
context:
space:
mode:
authortradke <tradke@38c3d835-c875-442e-b0fe-21c19ce1d001>2002-04-26 15:57:40 +0000
committertradke <tradke@38c3d835-c875-442e-b0fe-21c19ce1d001>2002-04-26 15:57:40 +0000
commit57daa72811142a5f0377bfd2cdba07eebb73e977 (patch)
treefb8d9b2a81b23464c03a9b60383c2e0de3a8e2fa /src/ioPandaGH.h
parentafcb56a4505cf6f99888590d49ce1998a61a4a3a (diff)
Switched IOPanda to use the new Hyperslabbing API for outputting arbitrary
hyperslabs. You must update thorn CactusBase/IOUtil now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOPanda/trunk@31 38c3d835-c875-442e-b0fe-21c19ce1d001
Diffstat (limited to 'src/ioPandaGH.h')
-rw-r--r--src/ioPandaGH.h17
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);