aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authoreschnett <eschnett@1bf05452-ddb3-4880-bfa1-00436340132b>2012-05-11 23:20:57 +0000
committereschnett <eschnett@1bf05452-ddb3-4880-bfa1-00436340132b>2012-05-11 23:20:57 +0000
commit726ae5d12d095205a5d8a5ce7c965f1f7fe522ca (patch)
tree9f10a10e45188f202de4b48c695e555dba1a1315 /param.ccl
parentc979b0d7e5bc6e92c4a49840163dfeb2547c0d45 (diff)
Add parameter to poison periodic boundaries
Add a parameter to poison periodic boundaries before the periodicity condition is applied. This allows detecting errors in the periodicity boundary condition, which does not work if there are multiple local components per process. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Periodic/trunk@31 1bf05452-ddb3-4880-bfa1-00436340132b
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl11
1 files changed, 11 insertions, 0 deletions
diff --git a/param.ccl b/param.ccl
index fa1f5ca..d43e02b 100644
--- a/param.ccl
+++ b/param.ccl
@@ -19,3 +19,14 @@ BOOLEAN periodic_y "Periodic boundary conditions in y-direction"
BOOLEAN periodic_z "Periodic boundary conditions in z-direction"
{
} "no"
+
+
+
+BOOLEAN poison_boundaries "Fill the symmetry boundary with a poison value before the symmetry is applied, and check afterwards whether it has been overwritten" STEERABLE=always
+{
+} "no"
+
+CCTK_INT poison_value "Integer value (0..255) used to poison new timelevels (with memset)" STEERABLE=always
+{
+ 0:255 :: "Must fit into a byte. Use 0 for zero, 255 for nan, and e.g. 113 for a large value."
+} 254