aboutsummaryrefslogtreecommitdiff
path: root/src/NewPUGHSlab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/NewPUGHSlab.h')
-rw-r--r--src/NewPUGHSlab.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/NewPUGHSlab.h b/src/NewPUGHSlab.h
index 7fcffcb..3d76628 100644
--- a/src/NewPUGHSlab.h
+++ b/src/NewPUGHSlab.h
@@ -1,5 +1,5 @@
/*@@
- @header PUGHSlab.h
+ @header NewPUGHSlab.h
@date Sun 28 May 2000
@author Thomas Radke
@desc
@@ -10,19 +10,16 @@
@@*/
-#ifndef _PUGHSLAB_PUGHSLAB_H_
-#define _PUGHSLAB_PUGHSLAB_H_
+#ifndef _PUGHSLAB_NEWPUGHSLAB_H_
+#define _PUGHSLAB_NEWPUGHSLAB_H_
+
+#include "PUGHSlab.h"
#ifdef __cplusplus
extern "C"
{
#endif
-/* prototype of datatype conversion routines */
-typedef void (*PUGHSlab_conversion_fn) (void *hdata,
- void *vdata,
- unsigned int nelems);
-
/* function prototypes */
int NewHyperslab_GetLocalHyperslab (const cGH *GH,
@@ -30,7 +27,7 @@ int NewHyperslab_GetLocalHyperslab (const cGH *GH,
int vtimelvl,
int hdim,
int htype,
- PUGHSlab_conversion_fn copy_fn,
+ t_hslabConversionFn copy_fn,
const int global_startpoint[/* vdim */],
const int directions[/* hdim * vdim */],
const int lengths[/* hdim */],
@@ -57,11 +54,9 @@ int NewHyperslab_GetHyperslab (cGH *GH,
int hsize[/* hdim */]);
#endif
-PUGHSlab_conversion_fn PUGHSlab_GetDatatypeConversionFn (int vtype, int htype);
-
#ifdef __cplusplus
}
#endif
-#endif /* _PUGHSLAB_PUGHSLAB_H_ */
+#endif /* _PUGHSLAB_NEWPUGHSLAB_H_ */