diff options
author | eschnett <eschnett@20f44201-0f4f-0410-9130-e5fc2714a787> | 2012-10-21 03:38:41 +0000 |
---|---|---|
committer | eschnett <eschnett@20f44201-0f4f-0410-9130-e5fc2714a787> | 2012-10-21 03:38:41 +0000 |
commit | 9b0308b77b39e042a96020b86f548a9788434bfb (patch) | |
tree | 23e8d4dbb8ad325b7dfeabafae9b03dc9e8d9d24 | |
parent | 9a5c287673aefd9a6130f545a59baf2204aac888 (diff) |
Introduce new parameter check_boundaries
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/RotatingSymmetry180/trunk@78 20f44201-0f4f-0410-9130-e5fc2714a787
-rw-r--r-- | param.ccl | 6 | ||||
-rw-r--r-- | src/rotatingsymmetry180.c | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -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]) { |