From 3e4433a97c1433011d9795bff24b2e3699e60cb9 Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 17 Nov 2003 16:56:37 +0000 Subject: For checkpointing: set the with_ghostzones flag in the ioRequest structure to true. Note: you will need to update IOUtil also. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@296 ebee0441-1374-4afa-a3b5-247f3ba15b9a --- src/DumpGH.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/DumpGH.c b/src/DumpGH.c index c94ed8e..6a3f9df 100644 --- a/src/DumpGH.c +++ b/src/DumpGH.c @@ -433,14 +433,16 @@ static int Checkpoint (const cGH *GH, int called_from) /* get the default I/O request for this group */ request = IOUtil_DefaultIORequest (GH, first_vindex, 1); - /* disable checking for old data objects, disable datatype conversion - and downsampling */ + /* disable checking for old data objects, + disable datatype conversion and downsampling, + request hyperslab output including ghostzones */ request->check_exist = 0; request->hdatatype = gdata.vartype; for (request->hdim = 0; request->hdim < request->vdim; request->hdim++) { request->downsample[request->hdim] = 1; } + request->with_ghostzones = 1; /* loop over all variables in this group */ for (request->vindex = first_vindex; -- cgit v1.2.3