diff options
-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]) { |