aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;