aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallen <allen@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2001-05-10 17:13:05 +0000
committerallen <allen@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2001-05-10 17:13:05 +0000
commit0dd3bf4785fdfe484a827230b2319c95dc820f0d (patch)
tree47f25472cd1998a3403c8c484ea8503bf4940b71
parentac8c305dde8f7c117643bbfa1ce2333b51851f8b (diff)
New timelevel indexing
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@193 ebee0441-1374-4afa-a3b5-247f3ba15b9a
-rw-r--r--src/Write2D.c2
-rw-r--r--src/Write3D.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Write2D.c b/src/Write2D.c
index 02aacb5..18cffe6 100644
--- a/src/Write2D.c
+++ b/src/Write2D.c
@@ -231,7 +231,7 @@ void IOFlexIO_Write2D (cGH *GH, int vindex, const char *alias)
}
/* get the timelevel for the variable to output */
- timelevel = CCTK_NumTimeLevelsFromVarI (vindex) - 1;
+ timelevel = 0;
/* get the coordinate ranges */
CCTK_CoordRange (GH, &coord_origin3D[0], &min_ext[0], -1, "x", "cart3d");
diff --git a/src/Write3D.c b/src/Write3D.c
index 6e7270c..950349f 100644
--- a/src/Write3D.c
+++ b/src/Write3D.c
@@ -218,7 +218,7 @@ void IOFlexIO_Write3D (cGH *GH, int vindex, const char *alias)
}
/* get the current timelevel */
- timelevel = CCTK_NumTimeLevelsFromVarI (vindex) - 1;
+ timelevel = 0;
/* output the data */
IOFlexIO_DumpVar (GH, vindex, timelevel, IEEEfile_3D->iofile);