diff options
author | allen <allen@94b1c47f-dcfd-45ef-a468-0854c0e9e350> | 2001-04-18 20:39:18 +0000 |
---|---|---|
committer | allen <allen@94b1c47f-dcfd-45ef-a468-0854c0e9e350> | 2001-04-18 20:39:18 +0000 |
commit | 2888f65eb55b121ed35e8346fcf7969ccf30c7c7 (patch) | |
tree | 7d14139ecdd3dbf8710d2d3a1ccbd44a1b487d32 /src | |
parent | 5220f84a6160b738afd1475ac7c34370aca2a1eb (diff) |
Changing timelevel index used for IO
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@57 94b1c47f-dcfd-45ef-a468-0854c0e9e350
Diffstat (limited to 'src')
-rw-r--r-- | src/Write1D.c | 8 | ||||
-rw-r--r-- | src/Write2D.c | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/src/Write1D.c b/src/Write1D.c index a0392c9..22aa976 100644 --- a/src/Write1D.c +++ b/src/Write1D.c @@ -412,10 +412,6 @@ void IOASCII_Write1D (cGH *GH, int vindex, const char *alias) /* get the current time level */ timelevel = CCTK_NumTimeLevelsFromVarI (vindex) - 1; - if (timelevel > 0) - { - timelevel--; - } /* OK so actually do the I/O in each direction */ for (dir = 0; dir < 4; dir++) @@ -453,10 +449,6 @@ void IOASCII_Write1D (cGH *GH, int vindex, const char *alias) { /* get the current time level for the coordinates */ coord_timelevel = CCTK_NumTimeLevelsFromVarI (coord_index[dir]) - 1; - if (coord_timelevel > 0) - { - coord_timelevel--; - } if (Hyperslab_GetHyperslab (GH, 0, coord_index[dir], coord_timelevel, 1, origin, directions, diff --git a/src/Write2D.c b/src/Write2D.c index 006a87e..beead76 100644 --- a/src/Write2D.c +++ b/src/Write2D.c @@ -303,19 +303,11 @@ FIXME: get rid of PUGH here for (dir = 0; dir < 3; dir++) { coord_timelevel[dir] = CCTK_NumTimeLevelsFromVarI (coord_index[dir]) - 1; - if (coord_timelevel[dir] > 0) - { - coord_timelevel[dir]--; - } } } /* get the timelevel for the variable to output */ timelevel = CCTK_NumTimeLevelsFromVarI (vindex) - 1; - if (timelevel > 0) - { - timelevel--; - } for (dir = 0; dir < 3; dir++) { |