aboutsummaryrefslogtreecommitdiff
path: root/CarpetExtra/SpaceTimeToy/schedule.ccl
blob: e4fcc545752b57268b4a59573deab4a1287bf869 (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
# Schedule definitions for thorn SpaceTimeToy
# $Header: /home/eschnett/C/carpet/Carpet/CarpetExtra/SpaceTimeToy/schedule.ccl,v 1.2 2001/03/18 22:37:10 eschnett Exp $

STORAGE: spacetimeevolve
STORAGE: icn_state



# Startup

schedule SpaceTimeToy_Startup at STARTUP
{
  LANG: Fortran
} "Register banner"

schedule SpaceTimeToy_InitSymBound at BASEGRID
{
  LANG: Fortran
  OPTIONS: global
} "Schedule symmetries"



# Iterative Crank-Nicholson integration

schedule SpaceTimeToy_EulerStep at EVOL
{
  LANG: Fortran
  STORAGE: spacetimetemps
  SYNC: spacetimeevolve
} "Initial Euler step"
  
schedule SpaceTimeToy_ICNStep at EVOL \
	after SpaceTimeToy_EulerStep \
	while SpaceTimeToy::do_iterate
{
  LANG: Fortran
  STORAGE: spacetimetemps
  SYNC: spacetimeevolve
} "One ICN step"