aboutsummaryrefslogtreecommitdiff
path: root/CarpetExtra/WaveToyMoL/schedule.ccl
blob: c8b81846f4d75d790e55c03c08cbabc981ecd8b5 (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
# Schedule definitions for thorn WaveToyMoL

STORAGE: scalarevolve[3]
STORAGE: scalarevolvedot



SCHEDULE WaveToyMol_Startup AT startup
{
  LANG: Fortran
  OPTIONS: meta
} "Register banner"

SCHEDULE WaveToyMoL_InitSymBound AT basegrid
{
  LANG: Fortran
  OPTIONS: meta
} "Schedule symmetries"

SCHEDULE WaveToyMoL_RegisterVars IN MoL_Register
{
  LANG: Fortran
  OPTIONS: meta
} "Register variables for MoL"



SCHEDULE WaveToyMoL_CalcRHS IN MoL_CalcRHS
{
  LANG: Fortran
} "Calculate RHS for MoL"

SCHEDULE WaveToyMoL_Boundaries IN MoL_PostStep
{
  LANG: Fortran
  OPTIONS: level
  SYNC: scalarevolve
} "Select boundary conditions in MoL"

SCHEDULE GROUP ApplyBCs IN MoL_PostStep AFTER WaveToyMoL_Boundaries
{
} "Apply boundary conditions in MoL"



if (estimate_error)
{
  
  STORAGE: scalarevolveerrorestimate

  SCHEDULE WaveToyMoL_EstimateError AT poststep
  {
    LANG: Fortran
  } "Estimate the truncation error"
  
  SCHEDULE WaveToyMoL_EstimateErrorBoundaries AT poststep AFTER WaveToyMoL_EstimateError
  {
    LANG: Fortran
    OPTIONS: level
    SYNC: scalarevolveerrorestimate
  } "Select boundary conditions for the truncation error"
  
  SCHEDULE GROUP ApplyBCs AT poststep AFTER WaveToyMoL_EstimateError
  {
  } "Apply boundary conditions"
  
}