aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetSlab/src/GetHyperslab.h
blob: d07070206a0b2b5d7975fa4542219c9efe8c594a (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
#ifndef CARPETSLAB_GETHYPERSLAB_H
#define CARPETSLAB_GETHYPERSLAB_H

#include "cctk.h"

#ifdef __cplusplus
namespace CarpetSlab {
  extern "C" {
#endif
    
    /* Old interface -- don't use */
    int
    Hyperslab_GetHyperslab (const cGH* const GH,
                            const int target_proc,
                            const int vindex,
                            const int vtimelvl,
                            const int hdim,
                            const int global_startpoint [/*vdim*/],
                            const int directions [/*vdim*/],
                            const int lengths [/*hdim*/],
                            const int downsample [/*hdim*/],
                            void** const hdata,
                            int hsize [/*hdim*/]);
    
#ifdef __cplusplus
  } /* extern "C" */
} /* namespace CarpetSlab */
#endif

#endif /* !defined(CARPETSLAB_GETHYPERSLAB_H) */