diff options
Diffstat (limited to 'src/StreamedHDF5GH.h')
-rw-r--r-- | src/StreamedHDF5GH.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/StreamedHDF5GH.h b/src/StreamedHDF5GH.h index f0433a7..020bd27 100644 --- a/src/StreamedHDF5GH.h +++ b/src/StreamedHDF5GH.h @@ -105,6 +105,19 @@ extern "C" { H5T_NATIVE_INT : H5T_NATIVE_SHORT) #define IOHDF5_CHAR H5T_NATIVE_CHAR +#define STREAM_MAXDIM 5 + +/* Geometry information structure for output variable */ +typedef struct +{ + int vdim; + int sdim; + int direction[STREAM_MAXDIM]; + int origin[STREAM_MAXDIM]; + int length[STREAM_MAXDIM]; + int downs[STREAM_MAXDIM]; +} StreamGeo_t; + /* StreamedHDF5 GH extension structure */ typedef struct StreamedHDF5GH @@ -113,7 +126,8 @@ typedef struct StreamedHDF5GH int out_every; /* flags indicating output for var [i] */ - char *do_output; + char *do_output; + StreamGeo_t *geo_output; /* the last iteration output */ int *out_last; |