From 0385777ba3cdcd7b5262d4d877acc8bda3508498 Mon Sep 17 00:00:00 2001 From: tradke Date: Tue, 16 Oct 2001 12:42:45 +0000 Subject: 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 --- doc/CreateIOFlexIOdatafile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3