aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
blob: 034bdd985bb3e7038a9fe17457d02e94abd2496a (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
# Schedule definitions for thorn SphericalSurface
# $Header$

STORAGE: sf_active
STORAGE: sf_valid
STORAGE: sf_info
STORAGE: sf_radius sf_origin
STORAGE: sf_coordinate_descriptors
STORAGE: sf_coordinate_estimators
STORAGE: sf_shape_descriptors
STORAGE: sf_minreflevel
STORAGE: sf_maxreflevel


SCHEDULE SphericalSurface_Setup AT basegrid
{
  LANG: C
  #OPTIONS: global
  OPTIONS: local
} "Calculate surface coordinate descriptors"



SCHEDULE GROUP SphericalSurface_HasBeenSet AT poststep
{
} "Set the spherical surfaces before this group, and use it afterwards"

  SCHEDULE SphericalSurface_CheckState IN SphericalSurface_HasBeenSet
  {
    LANG: C
    OPTIONS: global
  } "Test the state of the spherical surfaces"



SCHEDULE SphericalSurface_Set AT poststep BEFORE SphericalSurface_HasBeenSet
{
  LANG: C
  OPTIONS: global
} "Set surface radii"


SCHEDULE SphericalSurface_Set AT basegrid AFTER SphericalSurface_Setup
{
  LANG: C
  OPTIONS: local
} "Set surface radii to be used for initial setup in other thorns"


SCHEDULE SphericalSurface_SetupRes AT basegrid BEFORE SphericalSurface_Setup AFTER CartGrid3D_SetCoordinates
{
   LANG: C
   OPTIONS: local
} "Set surface resolution automatically"