diff options
author | tradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035> | 2001-12-03 22:41:51 +0000 |
---|---|---|
committer | tradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035> | 2001-12-03 22:41:51 +0000 |
commit | 35a93592d07a1cf42ee9ca569f3f312d67665619 (patch) | |
tree | e5c24c827efdbd269e88676d4a258136e3b3e093 /src | |
parent | 9b7e0a9b724e4f9bd973c0b3320293eff7064227 (diff) |
PUGHSlab internal typedefs and prototypes.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@63 10716dce-81a3-4424-a2c8-48026a0d3035
Diffstat (limited to 'src')
-rw-r--r-- | src/PUGHSlabi.h | 51 |
1 files changed, 51 insertions, 0 deletions
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_ */ |