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


# Initial data from exact solution.

if ((CCTK_Equals(initial_data,"exact")) || (CCTK_Equals(initial_lapse,"exact")))
{
  schedule exactinitialize at CCTK_INITIAL
  {
    LANG: Fortran
  } "Set initial data from exact solution"
}


# Exact lapse and/or shift.

if ((CCTK_Equals(slicing,"exact")) || (CCTK_Equals(shift,"exact")))
{
  schedule Exact_RegisterSlicing at CCTK_STARTUP
  {
    LANG: C
  } "Register slicings"

  schedule exactgauge at CCTK_POSTINITIAL
  {
    LANG: Fortran
  } "Set initial lapse and/or shift from exact solution"

  schedule exactgauge at CCTK_PRESTEP
  {
    LANG: Fortran
  } "Set evolution lapse and/or shift from exact solution"
}


# The slice evolver.

if ((CCTK_Equals(initial_data,"slice")) || (CCTK_Equals(evolution_system,"slice")))
{
  STORAGE: Exact_slice
  STORAGE: Exact_slicetemp1
  STORAGE: Exact_slicetemp2

  schedule slice_initialize at CCTK_INITIAL
  {
    LANG: Fortran
  } "Set initial data from exact solution on arbitrary slice"
}

if (CCTK_Equals(evolution_system,"slice"))
{
  schedule slice_evolve at CCTK_EVOL
  {
    LANG: Fortran
  } "Evolve arbitrary slice and  extract Cauchy data"
}