From e060a710ebb9e7cbe90249ed5a6d21877db50193 Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 17 Nov 2003 16:55:00 +0000 Subject: 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 --- src/Utils.c | 1 + src/ioutil_Utils.h | 7 +++++-- 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; -- cgit v1.2.3