aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/interface.ccl
blob: 12cba170c193500ae70baed0c8dd970bbc5ed437 (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
74
75
# Interface definition for thorn CarpetLib

IMPLEMENTS: CarpetLib

includes header: mpi_string.hh in mpi_string.hh

includes header: defs.hh in defs.hh
includes header: dist.hh in dist.hh
includes header: typecase.hh in typecase.hh
includes header: typeprops.hh in typeprops.hh

includes header: balance.hh in balance.hh
includes header: bbox.hh in bbox.hh
includes header: bboxset.hh in bboxset.hh
includes header: fulltree.hh in fulltree.hh
includes header: region.hh in region.hh
includes header: vect.hh in vect.hh

includes header: commstate.hh in commstate.hh
includes header: mem.hh in mem.hh
includes header: timestat.hh in timestat.hh

includes header: operator_prototypes_3d.hh in operator_prototypes_3d.hh

includes header: data.hh in data.hh
includes header: gdata.hh in gdata.hh

includes header: dh.hh in dh.hh
includes header: gf.hh in gf.hh
includes header: ggf.hh in ggf.hh
includes header: gh.hh in gh.hh
includes header: th.hh in th.hh

includes header: operators.hh in operators.hh

uses include header: nompi.h

uses include header: CarpetTimers.hh
uses include header: loopcontrol.h
uses include header: vectors.h

# DGFE
uses include header: hrscc.hh



# Return a pointer to an unmodifiable C string
# which contains a unique ID for this build
CCTK_POINTER_TO_CONST \
FUNCTION UniqueBuildID (CCTK_POINTER_TO_CONST IN  cctkGH)
USES FUNCTION UniqueBuildID

# Return a pointer to an unmodifiable C string
# which contains a unique ID for this simulation
CCTK_POINTER_TO_CONST \
FUNCTION UniqueSimulationID (CCTK_POINTER_TO_CONST IN  cctkGH)
USES FUNCTION UniqueSimulationID



# Check whether existing output files should be truncated
CCTK_INT \
FUNCTION IO_TruncateOutputFiles (CCTK_POINTER_TO_CONST IN cctkGH)
REQUIRES FUNCTION IO_TruncateOutputFiles



# The location of the boundary points
CCTK_INT FUNCTION GetBoundarySpecification \
  (CCTK_INT IN size, \
   CCTK_INT OUT ARRAY nboundaryzones, \
   CCTK_INT OUT ARRAY is_internal, \
   CCTK_INT OUT ARRAY is_staggered, \
   CCTK_INT OUT ARRAY shiftout)
USES FUNCTION GetBoundarySpecification