aboutsummaryrefslogtreecommitdiff
path: root/src/ioASCIIGH.h
diff options
context:
space:
mode:
authortradke <tradke@94b1c47f-dcfd-45ef-a468-0854c0e9e350>2000-06-02 15:17:55 +0000
committertradke <tradke@94b1c47f-dcfd-45ef-a468-0854c0e9e350>2000-06-02 15:17:55 +0000
commite84210459cfbed430d8dfd0f1b4d04e76c1b0f6f (patch)
treeecc9fb15aa93adde2fc854644e3182ecf9ba61da /src/ioASCIIGH.h
parente4b33cec4b4c3899f97259e4037bda4ed734becd (diff)
IOASCII using thorn Hyperslab. No PUGH in here anymore !
Also changed the output format to use tabs rather than spaces which reduces the output filesize by 1/3. Should still pass all testsuites (tested for the WaveToys). If everything else is okay we can move IOASCII into the IOBasic/ arrangement and remove CactusPUGHIO/IOASCII. Also finally removed all the http stuff. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@2 94b1c47f-dcfd-45ef-a468-0854c0e9e350
Diffstat (limited to 'src/ioASCIIGH.h')
-rw-r--r--src/ioASCIIGH.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/ioASCIIGH.h b/src/ioASCIIGH.h
new file mode 100644
index 0000000..8593022
--- /dev/null
+++ b/src/ioASCIIGH.h
@@ -0,0 +1,53 @@
+ /*@@
+ @header ioASCIIGH.h
+ @date Tue 9th Jan 1999
+ @author Gabrielle Allen
+ @desc
+ The extensions to the GH structure from IO.
+ @history
+ @hauthor Thomas Radke @hdate 16 Mar 1999
+ @hdesc Added parameters for 2D and 3D output
+ @hauthor Thomas Radke @hdate 17 Mar 1999
+ @hdesc Changed naming: IEEEIO -> FlexIO
+ @hauthor Thomas Radke @hdate 30 Mar 1999
+ @hdesc Undefined DI macro
+ @endhistory
+ @version $Header$
+ @@*/
+
+#include "StoreNamedData.h"
+
+/* supported gridtypes: full,octant,quadrant,bitant */
+
+typedef struct IOASCIIGH {
+
+ /* the number of times output */
+ int out1D_every;
+ int out2D_every;
+
+ /* flags indicating output for var [i] */
+ char *do_out1D;
+ char *do_out2D;
+
+ /* directories in which to output */
+ char *outdir1D;
+ char *outdir2D;
+
+ /* the last iteration output for var [i] */
+ int *out1D_last;
+ int *out2D_last;
+
+ /* database for names of output files that were already created */
+ pNamedData *filenameList1D;
+ pNamedData *fileList_2D;
+
+ /* for 1d lines, we define the index where to start the line:
+ spxyz[XYZdirection][xyzstart_index] */
+ int spxyz[3][3];
+
+} asciiioGH;
+
+
+/* function prototypes */
+void IOASCII_Write1D (cGH *GH, int index, const char *alias);
+void IOASCII_Write2D (cGH *GH, int index, const char *alias);