diff options
Diffstat (limited to 'src/ioGH.h')
-rw-r--r-- | src/ioGH.h | 52 |
1 files changed, 10 insertions, 42 deletions
@@ -2,22 +2,14 @@ @header ioGH.h @date Tue 9th Jan 1999 @author Gabrielle Allen - @desc - The extensions to the GH structure from IOUtil. - @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$ + @desc + The extensions to the GH structure from IOUtil. + @enddesc + @version $Header$ @@*/ -#ifndef _IOGH_H_ -#define _IOGH_H_ 1 - +#ifndef _IOUTIL_IOGH_H_ +#define _IOUTIL_IOGH_H_ 1 #ifdef __cplusplus extern "C" @@ -26,34 +18,11 @@ extern "C" /* IOUtil's GH extension structure */ -typedef struct IOGH +typedef struct { - -#if 0 - /* TR: commented these things out because they were moved into the other - IO thorns' GH extensions - But maybe someday we want them back here, eg. if the user - wants to say how often to do 3D output in general for all IO thorns - that can produce 3D output; of course they should still be able - override this with their own parameters. - */ - /* How often to output */ - int infoevery; - int IO_0Devery; - int IO_1Devery; - int IO_2Devery; - int IO_3Devery; - - /* Directory in which to output */ - char *outpfx_0D; - char *outpfx_1D; - char *outpfx_2D; - char *outpfx_3D; -#endif - /* for 3D output */ - int ioproc; /* the IO processor each proc belongs to */ - int nioprocs; /* total number of IO processors */ + int ioproc; /* the I/O processor each proc belongs to */ + int nioprocs; /* total number of I/O processors */ int ioproc_every; /* output by every N'th processor */ int unchunked; /* if true generate unchunked output file */ int *downsample; /* downsampling parameters array of size cctk_maxdim */ @@ -72,5 +41,4 @@ typedef struct IOGH } #endif -#endif /* _IOGH_H_ */ - +#endif /* _IOUTIL_IOGH_H_ */ |