diff options
author | allen <allen@94b1c47f-dcfd-45ef-a468-0854c0e9e350> | 2001-05-10 17:12:20 +0000 |
---|---|---|
committer | allen <allen@94b1c47f-dcfd-45ef-a468-0854c0e9e350> | 2001-05-10 17:12:20 +0000 |
commit | ad50ed9da7d5220ecf843338a837876ade9b5c89 (patch) | |
tree | 00061d1397302f8b671ecfa881d4eddc6dadac19 | |
parent | 337c75aa8c5d8ca38dcfce3cc045c325ebce129c (diff) |
New timelevel indexing
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@61 94b1c47f-dcfd-45ef-a468-0854c0e9e350
-rw-r--r-- | src/Write1D.c | 2 | ||||
-rw-r--r-- | src/Write2D.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/Write1D.c b/src/Write1D.c index 00de288..e6faa45 100644 --- a/src/Write1D.c +++ b/src/Write1D.c @@ -434,7 +434,7 @@ void IOASCII_Write1D (cGH *GH, int vindex, const char *alias) } /* get the current time level */ - timelevel = CCTK_NumTimeLevelsFromVarI (vindex) - 1; + timelevel = 0; /* OK so actually do the I/O in each direction */ for (dir = 0; dir < 4; dir++) diff --git a/src/Write2D.c b/src/Write2D.c index a458970..af0ca58 100644 --- a/src/Write2D.c +++ b/src/Write2D.c @@ -308,7 +308,7 @@ void IOASCII_Write2D (cGH *GH, int vindex, const char *alias) } /* get the timelevel for the variable to output */ - timelevel = CCTK_NumTimeLevelsFromVarI (vindex) - 1; + timelevel = 0; for (dir = 0; dir < 3; dir++) { @@ -320,7 +320,6 @@ void IOASCII_Write2D (cGH *GH, int vindex, const char *alias) CCTK_REAL *coord_data_i, *coord_data_j; void *data; - /* get the directions to span the hyperslab */ if (dir == 0) { |