aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>2003-11-17 16:55:00 +0000
committertradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>2003-11-17 16:55:00 +0000
commite060a710ebb9e7cbe90249ed5a6d21877db50193 (patch)
treebbf2a310198b502e7a9488f4f57b83e8a0dd6e63
parentf309591c537df47f10c80ab4799e247e424963a2 (diff)
Add a check 'with_ghostzones' to the ioRequest structure and initialize it
to 0 by default. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@196 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
-rw-r--r--src/Utils.c1
-rw-r--r--src/ioutil_Utils.h7
2 files changed, 6 insertions, 2 deletions
diff --git a/src/Utils.c b/src/Utils.c
index e3b0274..d2bae38 100644
--- a/src/Utils.c
+++ b/src/Utils.c
@@ -928,6 +928,7 @@ ioRequest *IOUtil_DefaultIORequest (const cGH *GH, int vindex,
request->timelevel = 0;
request->check_exist = myGH->recovered;
request->out_every = out_every_default;
+ request->with_ghostzones = 0;
/* get the I/O request datatype (will be single-precision if requested) */
request->hdatatype = CCTK_VarTypeI (vindex);
diff --git a/src/ioutil_Utils.h b/src/ioutil_Utils.h
index 74117aa..349b2b3 100644
--- a/src/ioutil_Utils.h
+++ b/src/ioutil_Utils.h
@@ -32,10 +32,13 @@ typedef struct
/* CCTK datatype for the hyperslab */
int hdatatype;
- /* flag indicating wheter check whether an object to be written already
- exists (and remove it in that case) */
+ /* flag indicating whether an object to be written already exists
+ (and remove it in that case) */
int check_exist;
+ /* flag indicating whether to include ghostzones in the hyperslab mapping */
+ int with_ghostzones;
+
/* pointer to allocated buffers */
CCTK_INT *vectors;