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
|
# Interface definition for thorn NullSurf
implements: NullSurf
INHERITS: ADMBase grid CoordBase ML_BSSN Driver
CCTK_POINTER FUNCTION \
VarDataPtrI \
(CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN map, \
CCTK_INT IN reflevel, \
CCTK_INT IN component, \
CCTK_INT IN timelevel, \
CCTK_INT IN varindex)
USES FUNCTION VarDataPtrI
public:
REAL photon_coord TYPE=array DIM=2 SIZE=photons_per_surface,nb_surfaces DISTRIB=constant
{
pos_x,
# stored only to send zeroes to interpolator
pos_y,
pos_z,
mom_x,
mom_z
}
REAL photon_rhs TYPE=array DIM=3 SIZE=photons_per_surface,nb_surfaces,4 DISTRIB=constant
{
pos_x_rhs,
pos_z_rhs,
mom_x_rhs,
mom_z_rhs
}
INT evol_next_step TYPE=scalar
INT surfaces_active TYPE=scalar
REAL origin_proper_time TYPE=scalar
REAL origin_proper_time_rhs TYPE=array DIM=1 SIZE=4
|