aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Haas <rhaas@tapir.caltech.edu>2013-10-11 11:56:31 -0700
committerRoland Haas <rhaas@tapir.caltech.edu>2013-10-11 23:49:07 -0700
commitbe2bd96c56aa6dd5b1fb6654b130f3e44e049e8e (patch)
tree4355365ff1b1bed6f57a74dafcc69010c63d81a2
parentb9dcd6e71ae740d1660af390d473680439604551 (diff)
CarpetLib: make electric_fence parameter restricted
-rw-r--r--Carpet/CarpetLib/param.ccl8
1 files changed, 4 insertions, 4 deletions
diff --git a/Carpet/CarpetLib/param.ccl b/Carpet/CarpetLib/param.ccl
index 5f1d23b82..95eae6d48 100644
--- a/Carpet/CarpetLib/param.ccl
+++ b/Carpet/CarpetLib/param.ccl
@@ -76,10 +76,6 @@ BOOLEAN poison_new_memory "Try to catch uninitialised data by setting newly allo
{
} "no"
-BOOLEAN electric_fence "Surround each allocated memory block by canaries to check for out-of-bounds accesses" STEERABLE=recover
-{
-} "no"
-
CCTK_INT fence_width "number of guard cells to use" STEERABLE=recover
{
1:* :: "any number of cells"
@@ -87,6 +83,10 @@ CCTK_INT fence_width "number of guard cells to use" STEERABLE=recover
RESTRICTED:
+BOOLEAN electric_fence "Surround each allocated memory block by canaries to check for out-of-bounds accesses" STEERABLE=recover
+{
+} "no"
+
CCTK_INT poison_value "Integer value (0..255) used to poison new timelevels (with memset)" STEERABLE=always
{
0:255 :: "Must fit into a byte. Use 0 for zero, 255 for nan, and e.g. 113 for a large value."