blob: 97237f7f2c3cfa7029ffc6bafc5efa15e1863b69 (
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 NaNChecker
# $Header$
if (*check_vars && check_every > 0)
{
STORAGE: NaNmask NaNsFound
schedule NaNChecker_ResetCounter at BASEGRID
{
LANG: C
OPTIONS: global
} "Reset the NaNChecker::NaNsFound counter"
schedule NaNChecker_ResetCounter at PRESTEP
{
LANG: C
OPTIONS: global
} "Reset the NaNChecker::NaNsFound counter"
schedule NaNChecker_NaNCheck_Prepare IN NaNChecker_NaNCheck
{
LANG: C
OPTIONS: level
} "Prepare data structures to check for NaNs"
schedule GROUP NaNChecker_NaNCheck as zzz_NaNChecker_NaNCheck at POSTSTEP
{
} "Check for NaNs and count them in NaNChecker::NaNsFound"
schedule NaNChecker_NaNCheck_Check IN NaNChecker_NaNCheck AFTER NaNChecker_NaNCheck_Prepare
{
LANG: C
OPTIONS: local
} "Check for NaNs"
schedule NaNChecker_NaNCheck_Finish IN NaNChecker_NaNCheck AFTER NaNChecker_NaNCheck_Check
{
LANG: C
OPTIONS: level
} "Count NaNs in NaNChecker::NaNsFound"
schedule NaNChecker_TakeAction at POSTSTEP after zzz_NaNChecker_NaNCheck
{
LANG: C
OPTIONS: global loop-level
} "Output NaNChecker::NaNmask and take action according to NaNChecker::action_if_found"
schedule GROUP NaNChecker_NaNCheck as zzz_NaNChecker_NaNCheck at POST_RECOVER_VARIABLES
{
} "Check for NaNs and count them in NaNChecker::NaNsFound"
schedule NaNChecker_TakeAction at POST_RECOVER_VARIABLES after zzz_NaNChecker_NaNCheck
{
LANG: C
OPTIONS: global loop-level
} "Output NaNChecker::NaNmask and take action according to NaNChecker::action_if_found"
}
|