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

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



# This might move to MaskBase
STORAGE: weight

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

SCHEDULE GROUP MaskBase_SetupMask AT postregrid
{
} "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"