aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetSlab/src/carpetslab.hh
blob: 04c6bfda39dc0628618756f51d4facaee2d28cc5 (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
// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetSlab/src/Attic/carpetslab.hh,v 1.1 2001/03/01 13:40:11 eschnett Exp $

#include "cctk.h"

namespace Carpet {
  
  extern "C" {
    
    int Hyperslab_GetLocalHyperslab (cGH* GH,
				     int vindex,
				     int vtimelvl,
				     int hdim,
				     const int global_startpoint [/*vdim*/],
				     const int directions [/*vdim*/],
				     const int lengths [/*hdim*/],
				     const int downsample [/*hdim*/],
				     void** hdata,
				     int hsize [/*hdim*/],
				     int ghsize [/*hdim*/],
				     int hoffset [/*hdim*/]);
    
    int Hyperslab_GetHyperslab (cGH* GH,
				int target_proc,
				int vindex,
				int vtimelvl,
				int hdim,
				const int global_startpoint [/*vdim*/],
				const int directions [/*vdim*/],
				const int lengths [/*hdim*/],
				const int downsample [/*hdim*/],
				void** hdata,
				int hsize [/*hdim*/]);
    
  } // extern "C"
  
} // namespace Carpet