From 9b0308b77b39e042a96020b86f548a9788434bfb Mon Sep 17 00:00:00 2001 From: eschnett Date: Sun, 21 Oct 2012 03:38:41 +0000 Subject: Introduce new parameter check_boundaries git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/RotatingSymmetry180/trunk@78 20f44201-0f4f-0410-9130-e5fc2714a787 --- param.ccl | 6 +++++- src/rotatingsymmetry180.c | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/param.ccl b/param.ccl index 82c1e07..8478ec7 100644 --- a/param.ccl +++ b/param.ccl @@ -30,7 +30,7 @@ CCTK_REAL symmetry_boundary_y "y-coordinate of symmetry boundary (ignored if use -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" @@ -38,3 +38,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/rotatingsymmetry180.c b/src/rotatingsymmetry180.c index 8524e4b..bdc2451 100644 --- a/src/rotatingsymmetry180.c +++ b/src/rotatingsymmetry180.c @@ -544,7 +544,7 @@ int BndRot180VI (cGH const * restrict const cctkGH, CCTK_WARN (CCTK_WARN_ABORT, "internal error"); } - if (poison_boundaries) { + if (check_boundaries) { /* check destination grid points for poison */ if (cctkGH->cctk_bbox[2*dir]) { @@ -616,7 +616,7 @@ int BndRot180VI (cGH const * restrict const cctkGH, assert (0); } /* switch grouptype */ } /* if bbox */ - } /* if poison_boundaries */ + } /* if check_boundaries */ /* take parity into account */ if (cctkGH->cctk_bbox[2*dir]) { -- cgit v1.2.3