From 5776fa98abced9dd98c1fc82c02d1ca88ce0280b Mon Sep 17 00:00:00 2001 From: eschnett Date: Sun, 21 Oct 2012 03:38:29 +0000 Subject: Introduce new parameter check_boundaries git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Periodic/trunk@34 1bf05452-ddb3-4880-bfa1-00436340132b --- param.ccl | 6 +++++- src/periodic.c | 2 +- 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]; -- cgit v1.2.3