aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@1bf05452-ddb3-4880-bfa1-00436340132b>2012-10-21 03:38:29 +0000
committereschnett <eschnett@1bf05452-ddb3-4880-bfa1-00436340132b>2012-10-21 03:38:29 +0000
commit5776fa98abced9dd98c1fc82c02d1ca88ce0280b (patch)
tree93c7cee2d16f364dd36bce87f82cbab121110cbd
parent3cf27514780e2becff57aa926f7d3412832a6582 (diff)
Introduce new parameter check_boundaries
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Periodic/trunk@34 1bf05452-ddb3-4880-bfa1-00436340132b
-rw-r--r--param.ccl6
-rw-r--r--src/periodic.c2
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];