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

if (CCTK_Equals(courant_method,"standard"))
{
  schedule Time_Simple at CCTK_BASEGRID after CartGrid3D
  {
     LANG: C
  } "Set timestep based on Courant condition"
}

if (CCTK_Equals(courant_method,"courant") || CCTK_Equals(courant_method,"courant_time"))
{
  schedule Time_Simple at CCTK_BASEGRID after CartGrid3D
  {
     LANG: C
  } "Set timestep based on Courant condition"

  schedule Time_Courant at CCTK_PRESTEP 
  {
    LANG: C
  } "Reset timestep each iteration"
}