aboutsummaryrefslogtreecommitdiff
path: root/Carpet/LoopControl/schedule.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2011-07-03 21:20:20 -0400
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 19:54:45 +0000
commit472f7e4555bb1b7a673129421c0668ca93951562 (patch)
tree5fe928b8fe2b774a70d0a4cb915ac55143a1c53d /Carpet/LoopControl/schedule.ccl
parent2c48f3c4a08ab921a474289a9b5bd412fe2a654b (diff)
LoopControl: Add a self-test
Add a self-test that ensure that all loops cover each grid point exactly once.
Diffstat (limited to 'Carpet/LoopControl/schedule.ccl')
-rw-r--r--Carpet/LoopControl/schedule.ccl11
1 files changed, 11 insertions, 0 deletions
diff --git a/Carpet/LoopControl/schedule.ccl b/Carpet/LoopControl/schedule.ccl
index 090da0f5a..c8eb1233c 100644
--- a/Carpet/LoopControl/schedule.ccl
+++ b/Carpet/LoopControl/schedule.ccl
@@ -8,6 +8,17 @@ if (check_type_sizes) {
} "Check that sizes of control structures are identical in C and Fortran"
}
+SCHEDULE lc_selftest AT basegrid
+{
+ LANG: C
+ STORAGE: selftest
+} "Perform some self-checks"
+SCHEDULE lc_selftest AT postregrid
+{
+ LANG: C
+ STORAGE: selftest
+} "Perform some self-checks"
+
if (printstats) {
SCHEDULE lc_printstats_analysis AT analysis
{