aboutsummaryrefslogtreecommitdiff
path: root/Carpet/LoopControl/interface.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/interface.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/interface.ccl')
-rw-r--r--Carpet/LoopControl/interface.ccl9
1 files changed, 9 insertions, 0 deletions
diff --git a/Carpet/LoopControl/interface.ccl b/Carpet/LoopControl/interface.ccl
index 8f7308984..e3c1e81c9 100644
--- a/Carpet/LoopControl/interface.ccl
+++ b/Carpet/LoopControl/interface.ccl
@@ -3,3 +3,12 @@
IMPLEMENTS: LoopControl
INCLUDE HEADER: loopcontrol.h IN loopcontrol.h
+
+USES INCLUDE HEADER: vectors.h
+
+
+
+CCTK_REAL selftest TYPE=gf
+{
+ var1 var2
+} "Self-test variables"