From 1aff405781ecb77263477a3009bdab5439760319 Mon Sep 17 00:00:00 2001 From: eschnett Date: Sun, 21 Oct 2012 03:38:34 +0000 Subject: Introduce new parameter check_boundaries git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/RotatingSymmetry90/trunk@76 c3c03602-0f4f-0410-b3fa-d2c81c8a7dc5 --- param.ccl | 6 +++++- src/rotatingsymmetry90.c | 29 +++++++++++++++++++++++------ 2 files changed, 28 insertions(+), 7 deletions(-) diff --git a/param.ccl b/param.ccl index 902df6f..54073e5 100644 --- a/param.ccl +++ b/param.ccl @@ -6,7 +6,7 @@ BOOLEAN verbose "Produce screen output while applying boundary conditions" -BOOLEAN poison_boundaries "Fill the symmetry boundary with a poison value before the symmetry is applied, and check afterwards whether it has been overwritten" +BOOLEAN poison_boundaries "Fill the symmetry boundary with a poison value before the symmetry is applied" STEERABLE=always { } "no" @@ -14,3 +14,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/rotatingsymmetry90.c b/src/rotatingsymmetry90.c index 750b435..79ce5e6 100644 --- a/src/rotatingsymmetry90.c +++ b/src/rotatingsymmetry90.c @@ -646,7 +646,7 @@ int BndRot90VI (cGH const * restrict const cctkGH, ierr = Util_TableDestroy (options); assert (!ierr); - if (poison_boundaries) { + if (check_boundaries) { /* check destination grid points for poison */ int have_bnd = 1; for (q=0; q