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
|
# 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=nb_surfaces,photons_per_surface 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=4,nb_surfaces,photons_per_surface DISTRIB=constant
{
pos_x_rhs,
pos_z_rhs,
mom_x_rhs,
mom_z_rhs
}
REAL photon_times TYPE=array DIM=1 SIZE=nb_surfaces DISTRIB=constant
INT evol_next_step TYPE=scalar
INT surfaces_active TYPE=scalar
|