summaryrefslogtreecommitdiff
path: root/src/include/cctki_ScheduleBindings.h
blob: 3495d11b4022344b132c80096e59418a561176e5 (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
63
64
65
66
67
68
69
70
71
72
73
 /*@@
   @header    cctki_ScheduleBindings.h
   @date      Thu Jan 27 10:39:40 2000
   @author    Tom Goodale
   @desc 
   Routines which should be called from the bindings and rest of cactus
   to do schedule stuff, but is cactus specific, not in the core schedule
   subsystem.
   @enddesc
   @version $Header$
 @@*/

#ifndef _CCTKI_SCHEDUULEBINDINGS_H_
#define _CCTKI_SCHEDUULEBINDINGS_H_

#ifdef __cplusplus
extern "C" 
{
#endif

int CCTKi_ScheduleFunction(void *function,
                           const char *name,
                           const char *thorn,
                           const char *implementation,
                           const char *description,
                           const char *where,
                           const char *language,
                           int n_mem_groups,
                           int n_comm_groups,
                           int n_trigger_groups,
                           int n_sync_groups,
                           int n_writes,
                           int n_reads,
                           int n_options,
                           int n_before,
                           int n_after,
                           int n_while,
                           int n_if,
                           const int *timelevels, 
                           ...);

int CCTKi_ScheduleGroup(const char *realname,
                        const char *name,
                        const char *thorn,
                        const char *implementation,
                        const char *description,
                        const char *where,
                        int n_mem_groups,
                        int n_comm_groups,
                        int n_trigger_groups,
                        int n_sync_groups,
                        int n_writes,
                        int n_reads,
                        int n_options,
                        int n_before,
                        int n_after,
                        int n_while,
                        int n_if,
                        const int *timelevels,
                        ...
                        );

int CCTKi_ScheduleGroupStorage(const char *group, int timelevels);

int CCTKi_ScheduleGroupComm(const char *group);

int CCTKi_ScheduleGHInit(void *GH);

#ifdef __cplusplus
}
#endif

#endif /* _CCTKI_SCHEDUULEBINDINGS_H_*/