aboutsummaryrefslogtreecommitdiff
path: root/src/NewPUGHSlab.h
blob: 3d7662862cc6f27506ce02ada36d7a021028b0e8 (plain)
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
 /*@@
   @header    NewPUGHSlab.h
   @date      Sun 28 May 2000
   @author    Thomas Radke
   @desc 
              Function declarations of thorn Hyperslab
   @enddesc
   @history
   @endhistory
 @@*/


#ifndef _PUGHSLAB_NEWPUGHSLAB_H_
#define _PUGHSLAB_NEWPUGHSLAB_H_

#include "PUGHSlab.h"

#ifdef __cplusplus
extern "C"
{
#endif


/* function prototypes */
int NewHyperslab_GetLocalHyperslab (const cGH *GH,
                                    int vindex,
                                    int vtimelvl,
                                    int hdim,
                                    int htype,
                                    t_hslabConversionFn 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


#ifdef __cplusplus
}
#endif

#endif  /* _PUGHSLAB_NEWPUGHSLAB_H_ */