1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
/*@@
@header PUGHSlab.h
@date Sun 28 May 2000
@author Thomas Radke
@desc
Function declarations of thorn Hyperslab
@enddesc
@history
@endhistory
@@*/
#ifndef _PUGHSLAB_PUGHSLAB_H_
#define _PUGHSLAB_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,
int vindex,
int vtimelvl,
int hdim,
int htype,
PUGHSlab_conversion_fn copy_fn,
const int global_startpoint[/* vdim */],
const int directions[/* hdim * vdim */],
const int lengths[/* hdim */],
const int downsample_[/* hdim */],
void **hdata,
int *free_hdata,
int hsize[/* hdim */],
int hsize_global[/* hdim */],
int hoffset_global[/* hdim */]);
#if 0
int NewHyperslab_GetHyperslab (cGH *GH,
int target_proc,
int vindex,
int vtimelvl,
int hdim,
int htype,
PUGHSlab_conversion_fn copy_fn,
const int global_startpoint [/* vdim */],
const int directions[/* hdim*vdim */],
const int lengths[/* hdim */],
const int downsample_[/* hdim */],
void **hdata,
int *free_hdata,
int hsize[/* hdim */]);
#endif
PUGHSlab_conversion_fn PUGHSlab_GetDatatypeConversionFn (int vtype, int htype);
#ifdef __cplusplus
}
#endif
#endif /* _PUGHSLAB_PUGHSLAB_H_ */
|