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
|
# Interface definition for thorn WaveToyFO
# $Header: /home/eschnett/C/carpet/Carpet/CarpetExtra/WaveToyFO/interface.ccl,v 1.2 2004/05/07 20:55:47 schnetter Exp $
IMPLEMENTS: WaveToyFO
INHERITS: boundary grid MethodOfLines
CCTK_INT FUNCTION Boundary_SelectGroupForBC(CCTK_POINTER IN GH, \
CCTK_INT IN faces, CCTK_INT IN boundary_width, CCTK_INT IN table_handle, \
CCTK_STRING IN group_name, CCTK_STRING IN bc_name)
USES FUNCTION Boundary_SelectGroupForBC
CCTK_INT FUNCTION MoLRegisterEvolvedGroup(CCTK_INT IN EvolvedIndex, \
CCTK_INT IN RHSIndex)
USES FUNCTION MoLRegisterEvolvedGroup
CCTK_INT FUNCTION \
MultiPatch_Prim2Char \
(CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT ARRAY IN normal, \
CCTK_INT ARRAY IN lbnd, \
CCTK_INT ARRAY IN lsh, \
CCTK_INT IN rhs_flag, \
CCTK_INT IN num_modes, \
CCTK_POINTER ARRAY IN modes, \
CCTK_REAL ARRAY OUT speeds)
PROVIDES FUNCTION MultiPatch_Prim2Char \
WITH WaveToyFO_MultiPatch_Prim2Char \
LANGUAGE C
CCTK_INT FUNCTION \
MultiPatch_Char2Prim \
(CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT ARRAY IN normal, \
CCTK_INT ARRAY IN lbnd, \
CCTK_INT ARRAY IN lsh, \
CCTK_INT IN rhs_flag, \
CCTK_INT IN num_modes, \
CCTK_POINTER_TO_CONST ARRAY IN modes)
PROVIDES FUNCTION MultiPatch_Char2Prim \
WITH WaveToyFO_MultiPatch_Char2Prim \
LANGUAGE C
PUBLIC:
CCTK_REAL scalarevolve TYPE=gf TIMELEVELS=3
{
phi psix psiy psiz
} "Scalar field"
PRIVATE:
CCTK_REAL scalarevolvedot TYPE=gf
{
phidot psixdot psiydot psizdot
} "Time derivative of the scalar field"
|