aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authortradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2001-10-16 12:42:45 +0000
committertradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2001-10-16 12:42:45 +0000
commit0385777ba3cdcd7b5262d4d877acc8bda3508498 (patch)
tree56725c4fbb0f6e6bf3064f7aa9fc5fac2b3fbb07 /doc
parent8d4b5ffb57e46e1525a71f5e6ee83a4488dc6b9d (diff)
Fixed example program to use 0 as the current timelevel.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@220 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'doc')
-rw-r--r--doc/CreateIOFlexIOdatafile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/CreateIOFlexIOdatafile.c b/doc/CreateIOFlexIOdatafile.c
index e7ae1e2..54872ab 100644
--- a/doc/CreateIOFlexIOdatafile.c
+++ b/doc/CreateIOFlexIOdatafile.c
@@ -127,8 +127,8 @@ int main (void)
CHECK_ERROR (IOwriteAttribute (datafile, "ntimelevels", INT32, 1,
&ntimelevels));
- /* the timelevel of the variable */
- timelevel = 1;
+ /* the timelevel of the variable - 0 for the current timelevel */
+ timelevel = 0;
CHECK_ERROR (IOwriteAttribute (datafile, "timelevel", INT32, 1, &timelevel));
/* the dimensions of the variable (must correspond with the grid size