aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--param.ccl6
-rw-r--r--src/periodic.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/param.ccl b/param.ccl
index d43e02b..524f338 100644
--- a/param.ccl
+++ b/param.ccl
@@ -22,7 +22,7 @@ BOOLEAN periodic_z "Periodic boundary conditions in z-direction"
-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
+BOOLEAN poison_boundaries "Fill the symmetry boundary with a poison value before the symmetry is applied" STEERABLE=always
{
} "no"
@@ -30,3 +30,7 @@ CCTK_INT poison_value "Integer value (0..255) used to poison new timelevels (wit
{
0:255 :: "Must fit into a byte. Use 0 for zero, 255 for nan, and e.g. 113 for a large value."
} 254
+
+BOOLEAN check_boundaries "Check the boundaries for poison" STEERABLE=always
+{
+} "no"
diff --git a/src/periodic.c b/src/periodic.c
index a384e69..2ef44b4 100644
--- a/src/periodic.c
+++ b/src/periodic.c
@@ -231,7 +231,7 @@ BndPeriodicVI (CCTK_POINTER_TO_CONST _GH,
free (xferinfo);
- if (poison_boundaries) {
+ if (check_boundaries) {
/* check destination grid points for poison */
char poison[vartypesize];