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

# these are small, so there's no harm in having storage for them always on
STORAGE: BH_diagnostics__int
STORAGE: BH_diagnostics__real

schedule AHFinderDirect_setup at CCTK_BASEGRID after SpatialCoordinates
{
lang: C
options: global
} "setup data structures"

if (find_AHs_at_postinitial != 0)
    {
	schedule AHFinderDirect_find_horizons at CCTK_POSTINITIAL
	{
	lang: C
	options: global
	} "find apparent horizon(s) in initial data"
    }
if (find_AHs_at_poststep != 0)
    {
	schedule AHFinderDirect_find_horizons at CCTK_POSTSTEP
	{
	lang: C
	options: global
	} "find apparent horizon(s) after this time step"
    }

########################################

##
## uncomment this if you want to use the test driver
##	src/util/test_patch_system.cc
##
##schedule test_patch_system at CCTK_POSTINITIAL
##{
##LANG: C
##OPTIONS: global
##} "test driver to verify that src/util/ and src/jtutil/ code works properly"