summaryrefslogtreecommitdiff
path: root/src/include/Interp.h
blob: 7b98c9bfab7aedf0bec07df97b9ed13ad5af9af5 (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
 /*@@
   @header    Interp.h
   @date      July 07 1999
   @author    Thomas Radke
   @desc 
              Header file for using interpolation operators
   @enddesc 
   @history
   @date      July 07 1999
   @author    Thomas Radke
   @hdesc     Just copied from Reduction.h
   @endhistory
 @@*/


#ifndef _INTERP_H_
#define _INTERP_H_

#ifdef __cplusplus
extern "C" {
#endif

#define REGISTER_INTERP_ARGLIST  \
                         cGH *,  \
                         int,    \
                         int,    \
                         int,    \
                         int,    \
                         int *,  \
                         void **,\
                         int *,  \
                         void *, \
                         void *, \
                         void **,\
                         int *,  \
                         void **,\
                         int *    

int CCTK_InterpArray(cGH *GH,
                int operation_handle,
                int nPoints,
                int nCoords,
                int nInFields,
                int nOutFields,
                ...);

int CCTK_GetInterpHandle(const char *interp);

int CCTK_RegisterInterpOperator(int (*function)(REGISTER_INTERP_ARGLIST),
                                const char *name);


#ifdef __cplusplus
           }
#endif

#endif  /* _INTERP_H_ */