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
74
|
# Interface definition for thorn Requirements
IMPLEMENTS: Requirements
INCLUDES HEADER: Requirements.hh IN Requirements.hh
# Programmatically check a reads clause
void FUNCTION \
Requirements_CheckReads \
(CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN numvars, \
CCTK_INT ARRAY IN varinds, \
CCTK_STRING IN reads_clause)
PROVIDES FUNCTION Requirements_CheckReads \
WITH Carpet_Requirements_CheckReads \
LANGUAGE C
# Programmatically record a writes clause
void FUNCTION \
Requirements_NotifyWrites \
(CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN numvars, \
CCTK_INT ARRAY IN varinds, \
CCTK_STRING IN write_clause)
PROVIDES FUNCTION Requirements_NotifyWrites \
WITH Carpet_Requirements_NotifyWrites \
LANGUAGE C
# Programmatically invalidate a variable
void FUNCTION \
Requirements_Invalidate \
(CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN numvars, \
CCTK_INT ARRAY IN varinds)
PROVIDES FUNCTION Requirements_Invalidate \
WITH Carpet_Requirements_Invalidate \
LANGUAGE C
CCTK_INT FUNCTION \
GetRefinementLevel \
(CCTK_POINTER_TO_CONST IN cctkGH)
REQUIRES FUNCTION GetRefinementLevel
CCTK_INT FUNCTION \
GetMap \
(CCTK_POINTER_TO_CONST IN cctkGH)
REQUIRES FUNCTION GetMap
CCTK_INT FUNCTION \
GetTimeLevel \
(CCTK_POINTER_TO_CONST IN cctkGH)
REQUIRES FUNCTION GetTimeLevel
CCTK_INT FUNCTION \
GetTimeLevelOffset \
(CCTK_POINTER_TO_CONST IN cctkGH)
REQUIRES FUNCTION GetTimeLevelOffset
CCTK_INT FUNCTION \
Boundary_SelectedGVs \
(CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN array_size, \
CCTK_INT ARRAY OUT var_indicies, \
CCTK_INT ARRAY OUT faces, \
CCTK_INT ARRAY OUT boundary_widths, \
CCTK_INT ARRAY OUT table_handles, \
CCTK_STRING IN bc_name)
REQUIRES FUNCTION Boundary_SelectedGVs
|