aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetReduce/schedule.ccl
blob: 7610f10937ca32ac3c6e64116293a781bea5b53f (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
# Schedule definitions for thorn CarpetReduce

schedule CarpetReduceStartup at STARTUP
{
  LANG: C
} "Startup routine"



# This might move to MaskBase
STORAGE: weight



SCHEDULE GROUP MaskBase_SetupMask AT basegrid AFTER (SpatialCoordinates SphericalSurface_Setup)
{
} "Set up the weight function"

SCHEDULE GROUP MaskBase_SetupMask AT postregridinitial AFTER SpatialCoordinates
{
} "Set up the weight function"

SCHEDULE GROUP MaskBase_SetupMask AT postregrid AFTER SpatialCoordinates
{
} "Set up the weight function"

SCHEDULE GROUP MaskBase_SetupMask AT post_recover_variables
{
} "Set up the weight function"

SCHEDULE MaskBase_InitMask IN MaskBase_SetupMask
{
  LANG: C
  OPTIONS: global loop-local
} "Initialise the weight function"

SCHEDULE GROUP SetupMask IN MaskBase_SetupMask AFTER MaskBase_InitMask
{
} "Set up the weight function (schedule other routines in here)"

# This might move to CoordBase
SCHEDULE CoordBase_SetupMask IN SetupMask
{
  LANG: C
  OPTIONS: global loop-local
} "Set up the outer boundaries of the weight function"

# This might move to CarpetMask
SCHEDULE CarpetMaskSetup IN SetupMask
{
  LANG: C
  OPTIONS: global loop-singlemap
} "Set up the weight function for the restriction regions"



#SCHEDULE GROUP MaskBase_SetupMask_LevelMode AT basegrid AFTER (SpatialCoordinates SphericalSurface_Setup)
#{
#} "Set up the weight function"
#
#SCHEDULE MaskBase_InitMask IN MaskBase_SetupMask_LevelMode
#{
#  LANG: C
#} "Initialise the weight function"
#
#SCHEDULE GROUP SetupMask_LevelMode IN MaskBase_SetupMask_LevelMode AFTER MaskBase_InitMask
#{
#} "Set up the weight function (schedule other routines in here)"
#
## This might move to CoordBase
#SCHEDULE CoordBase_SetupMask IN SetupMask_LevelMode
#{
#  LANG: C
#} "Set up the outer boundaries of the weight function"
#
## This might move to CarpetMask
#SCHEDULE CarpetMaskSetup IN SetupMask_LevelMode
#{
#  LANG: C
#} "Set up the weight function for the restriction regions"