From 35a93592d07a1cf42ee9ca569f3f312d67665619 Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 3 Dec 2001 22:41:51 +0000 Subject: PUGHSlab internal typedefs and prototypes. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@63 10716dce-81a3-4424-a2c8-48026a0d3035 --- src/PUGHSlabi.h | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 src/PUGHSlabi.h diff --git a/src/PUGHSlabi.h b/src/PUGHSlabi.h new file mode 100644 index 0000000..f251544 --- /dev/null +++ b/src/PUGHSlabi.h @@ -0,0 +1,51 @@ + /*@@ + @header PUGHSlabi.h + @date Sun 28 May 2000 + @author Thomas Radke + @desc + Internal function declarations of thorn PUGHSlab + @enddesc + @version $Header$ + @@*/ + + +#ifndef _PUGHSLAB_PUGHSLABI_H_ +#define _PUGHSLAB_PUGHSLABI_H_ + +#include "PUGHSlab.h" + +#ifdef __cplusplus +extern "C" +{ +#endif + +/* structure describing a hyperslab mapping */ +typedef struct hslab_mapping_t +{ + int handle; + int target_proc; + int hdim; + int vdim; + int *global_origin; /* vdim */ + int *directions; /* hdim * vdim */ + int *extents; /* hdim */ + int *downsample; /* hdim */ + int *global_hsize; /* hdim */ + int *do_dir; /* vdim */ + int is_diagonal_in_3D; + t_hslabConversionFn conversion_fn; + struct hslab_mapping_t *prev, *next; +} hslab_mapping_t; + + +/* utility routines */ +hslab_mapping_t *PUGHSlabi_GetMapping (int mapping_handle); +t_hslabConversionFn PUGHSlabi_GetDatatypeConversionFn (int src_type, + int dst_type); + + +#ifdef __cplusplus +} +#endif + +#endif /* _PUGHSLAB_PUGHSLABI_H_ */ -- cgit v1.2.3