aboutsummaryrefslogtreecommitdiff
path: root/m/WeylScal4.patch
blob: e76d1987a9d33d78981c7fd783e0a0258e2b82a4 (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
diff -r -c a/interface.ccl b/interface.ccl
*** a/interface.ccl	2010-05-03 23:48:16.810592882 -0400
--- b/interface.ccl	2010-05-03 23:51:37.206592882 -0400
***************
*** 34,48 ****
  {
    Psi4r
  } "Psi4r_group"
- 
- public:
- CCTK_REAL Psi4i_grouprhs type=GF timelevels=3 tags='tensortypealias="Scalar" tensorweight=1 tensorparity=-1'
- {
-   Psi4irhs
- } "Psi4i_grouprhs"
- 
- public:
- CCTK_REAL Psi4r_grouprhs type=GF timelevels=3 tags='tensortypealias="Scalar" tensorweight=1 tensorparity=1'
- {
-   Psi4rrhs
- } "Psi4r_grouprhs"
--- 34,36 ----
diff -r -c a/param.ccl b/param.ccl
*** a/param.ccl	2010-05-03 23:48:16.811592882 -0400
--- b/param.ccl	2010-05-03 23:51:37.207592882 -0400
***************
*** 52,75 ****
  } "2nd"
  
  restricted:
- CCTK_INT WeylScal4_MaxNumEvolvedVars "Number of evolved variables used by this thorn" ACCUMULATOR-BASE=MethodofLines::MoL_Num_Evolved_Vars
- {
-   2:2 :: "Number of evolved variables used by this thorn"
- } 2
- 
- restricted:
  CCTK_INT timelevels "Number of active timelevels"
  {
    0:3 :: ""
  } 3
  
  restricted:
- CCTK_INT rhs_timelevels "Number of active RHS timelevels"
- {
-   0:3 :: ""
- } 1
- 
- restricted:
  CCTK_INT psis_calc_2nd_calc_every "psis_calc_2nd_calc_every"
  {
    *:* :: ""
--- 52,63 ----
diff -r -c a/schedule.ccl b/schedule.ccl
*** a/schedule.ccl	2010-05-03 23:48:16.811592882 -0400
--- b/schedule.ccl	2010-05-03 23:51:37.206592882 -0400
***************
*** 27,58 ****
    STORAGE: Psi4r_group[3]
  }
  
- if (rhs_timelevels == 1)
- {
-   STORAGE: Psi4i_grouprhs[1]
- }
- if (rhs_timelevels == 2)
- {
-   STORAGE: Psi4i_grouprhs[2]
- }
- if (rhs_timelevels == 3)
- {
-   STORAGE: Psi4i_grouprhs[3]
- }
- 
- if (rhs_timelevels == 1)
- {
-   STORAGE: Psi4r_grouprhs[1]
- }
- if (rhs_timelevels == 2)
- {
-   STORAGE: Psi4r_grouprhs[2]
- }
- if (rhs_timelevels == 3)
- {
-   STORAGE: Psi4r_grouprhs[3]
- }
- 
  schedule WeylScal4_Startup at STARTUP
  {
    LANG: C
--- 27,32 ----
***************
*** 72,77 ****
--- 46,55 ----
  } "register symmetries"
  
  
+ schedule group WeylScal4_Calculate in MoL_PseudoEvolution
+ {
+ } "Calculate the Newman-Penrose quantities"
+
  if (CCTK_EQUALS(fd_order, "2nd"))
  {
    schedule psis_calc_2nd in WeylScal4_Calculate as calc_np
***************
*** 93,104 ****
    } "psis_calc_4th"
  }
  
! schedule dummycalc in Nowhere_Nevertoberun
! {
!   LANG: C
! } "dummycalc"
! 
! schedule WeylScal4_SelectBoundConds in MoL_PostStep
  {
    LANG: C
    OPTIONS: level
--- 70,76 ----
    } "psis_calc_4th"
  }
  
! schedule WeylScal4_SelectBoundConds in WeylScal4_Boundaries
  {
    LANG: C
    OPTIONS: level
***************
*** 112,118 ****
    OPTIONS: meta
  } "check boundaries treatment"
  
! schedule group ApplyBCs as WeylScal4_ApplyBCs in MoL_PostStep  after WeylScal4_SelectBoundConds
  {
    # no language specified
  } "Apply boundary conditions controlled by thorn Boundary"
--- 84,105 ----
    OPTIONS: meta
  } "check boundaries treatment"
  
! schedule group ApplyBCs as WeylScal4_ApplyBCs in WeylScal4_Boundaries after WeylScal4_SelectBoundConds
! {
!   # no language specified
! } "Apply boundary conditions controlled by thorn Boundary"
! 
! schedule group WeylScal4_Boundaries in WeylScal4_Calculate after calc_np
! {
!   # no language specified
! } "Apply boundary conditions controlled by thorn Boundary"
! 
! schedule group WeylScal4_Boundaries in CCTK_POSTRESTRICTINITIAL
! {
!   # no language specified
! } "Apply boundary conditions controlled by thorn Boundary"
! 
! schedule group WeylScal4_Boundaries in CCTK_POSTRESTRICT
  {
    # no language specified
  } "Apply boundary conditions controlled by thorn Boundary"
diff -r -c a/src/RegisterMoL.c b/src/RegisterMoL.c
*** a/src/RegisterMoL.c	2010-05-03 23:48:16.811592882 -0400
--- b/src/RegisterMoL.c	2010-05-03 23:51:37.206592882 -0400
***************
*** 12,18 ****
    CCTK_INT ierr = 0;
    
    /* Register all the evolved grid functions with MoL */
-   ierr += MoLRegisterEvolved(CCTK_VarIndex("WeylScal4::Psi4i"),  CCTK_VarIndex("WeylScal4::Psi4irhs"));
-   ierr += MoLRegisterEvolved(CCTK_VarIndex("WeylScal4::Psi4r"),  CCTK_VarIndex("WeylScal4::Psi4rrhs"));
    return;
  }
--- 12,16 ----
diff -r -c a/src/make.code.defn b/src/make.code.defn
*** a/src/make.code.defn	2010-05-03 23:48:16.811592882 -0400
--- b/src/make.code.defn	2010-05-03 23:51:37.206592882 -0400
***************
*** 1,3 ****
  # File produced by Kranc
  
! SRCS = Startup.c RegisterMoL.c RegisterSymmetries.c psis_calc_2nd.c psis_calc_4th.c dummycalc.c Boundaries.c 
--- 1,3 ----
  # File produced by Kranc
  
! SRCS = Startup.c RegisterMoL.c RegisterSymmetries.c psis_calc_2nd.c psis_calc_4th.c Boundaries.c