aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Haas <rhaas@tapir.caltech.edu>2013-10-31 18:39:00 -0700
committerRoland Haas <rhaas@tapir.caltech.edu>2013-10-31 19:06:02 -0700
commitd43e472044d51790713abd2c50e2389eee366843 (patch)
tree0dcacebe45b6241e35cc3d4abb027855b6b63bfd
parent7c18b11f9a014731b63415bfde936c7f9d9be999 (diff)
Revert "CarpetLib: make electric_fence parameter restricted"
This reverts commit be2bd96c56aa6dd5b1fb6654b130f3e44e049e8e. Sharing parameters between CarpetLib and Carpet can apparantly cause problems.
-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 95eae6d48..5f1d23b82 100644
--- a/Carpet/CarpetLib/param.ccl
+++ b/Carpet/CarpetLib/param.ccl
@@ -76,6 +76,10 @@ 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"
@@ -83,10 +87,6 @@ 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."