From fb2c172c2c79ade4b2dfe3ea555be0191364355f Mon Sep 17 00:00:00 2001 From: tradke Date: Thu, 6 May 2004 12:01:04 +0000 Subject: Document filename scheme for chunked output files. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@316 ebee0441-1374-4afa-a3b5-247f3ba15b9a --- doc/CreateIOFlexIOdatafile.c | 2 +- doc/documentation.tex | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/CreateIOFlexIOdatafile.c b/doc/CreateIOFlexIOdatafile.c index 7ba5059..861842e 100644 --- a/doc/CreateIOFlexIOdatafile.c +++ b/doc/CreateIOFlexIOdatafile.c @@ -21,7 +21,7 @@ /* the name of our sample data file */ -#define DATAFILENAME "x_3d.ieee" +#define DATAFILENAME "x.ieee" /* the number of dimensions of our sample data array and its size */ #define NDIM 3 diff --git a/doc/documentation.tex b/doc/documentation.tex index f8fd6aa..413ee38 100644 --- a/doc/documentation.tex +++ b/doc/documentation.tex @@ -98,8 +98,8 @@ recombiner program. If you have a lot of different variables to recombine you can use the following Bourne shell commands to recombine them. This assumes that the chunked output files for each variable are located in a -subdirectory {\tt \_3d/}. -The recombined output file {\tt \_3d.ieee} would then be placed into +subdirectory {\tt \_d/}. +The recombined output file {\tt .ieee} would then be placed into the current working directory: \begin{verbatim} @@ -251,7 +251,7 @@ template for building your own data converter program.\\ \end{enumerate} The example C program goes through all of these steps and creates a datafile -{\tt x\_3d.ieee} in IEEEIO file layout which contains a single dataset named +{\tt x.ieee} in IEEEIO file layout which contains a single dataset named {\tt "grid::x"}, with groupname {\tt "grid::coordinates"}, grouptype {\tt CCTK\_GF} (thus identifying the variable as a grid function), the timelevel to restore set to 0, and the total number of timelevels set to 1.\\ @@ -261,7 +261,7 @@ The global attributes are set to Once you've built and ran the program you can easily verify if it worked properly with \begin{verbatim} - ioinfo -showattrdata x_3d.ieee + ioinfo -showattrdata x.ieee \end{verbatim} which lists all objects in the datafile along with their values. Since the single dataset in it only contains zeros -- cgit v1.2.3