diff options
author | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2000-08-24 10:00:41 +0000 |
---|---|---|
committer | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2000-08-24 10:00:41 +0000 |
commit | e329a7c07ac30eeade8eb39a91848c64628f27c8 (patch) | |
tree | 35497dfa1695fe50efe5001d4dfede885d5da0a0 /src/DumpVar.c | |
parent | 8e46714b7efe67de1acb24d9d9d84f6f21e3a0df (diff) |
Fixed bug where the "global_size" attribute in 3D IEEEIO output
contained the processor-local size of arrays.
This should fix CactusPUGHIO-IOFlexIO/369.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@144 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/DumpVar.c')
-rw-r--r-- | src/DumpVar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DumpVar.c b/src/DumpVar.c index 9bbbe36..fac20b0 100644 --- a/src/DumpVar.c +++ b/src/DumpVar.c @@ -393,7 +393,7 @@ static void IOFlexIO_DumpGA (cGH *GH, int index, int timelevel, IOFile iof, /* delay adding attributes for unchunked files until all chunks were written (otherwise attributes get lost !) */ if (! ioUtilGH->unchunked) - IOFlexIO_AddCommonAttributes (GH, index, timelevel, &geom [dim], iof); + IOFlexIO_AddCommonAttributes (GH, index, timelevel, &geom [2*dim], iof); /* Dump data from all other processors */ @@ -422,7 +422,7 @@ static void IOFlexIO_DumpGA (cGH *GH, int index, int timelevel, IOFile iof, /* now add the attributes for unchunked files */ if (ioUtilGH->unchunked) - IOFlexIO_AddCommonAttributes (GH, index, timelevel, &geom [dim], iof); + IOFlexIO_AddCommonAttributes (GH, index, timelevel, &geom [2*dim], iof); } /* End myproc = 0 */ |