From 726ae5d12d095205a5d8a5ce7c965f1f7fe522ca Mon Sep 17 00:00:00 2001 From: eschnett Date: Fri, 11 May 2012 23:20:57 +0000 Subject: 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 --- param.ccl | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'param.ccl') 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 -- cgit v1.2.3