aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authortradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2001-05-07 20:06:48 +0000
committertradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2001-05-07 20:06:48 +0000
commitb2b5ce55a0f055069670fc48cd883ba2365081c6 (patch)
tree1f5a184706931c1b09634317920288874f6037f1 /param.ccl
parent33e8b1395dba531bc7181806c071c6f535448822 (diff)
Changed BOOLEAN parameter "PUGH::zero_memory" into an always steerable
KEYWORD parameter "PUGH::initialize_memory" with options "none" :: "Do not initialize storage for allocated grid variables (default)" "zero" :: "Zero out all elements of all allocated grid variables" "NaN" :: "Set all elements of allocated floating point grid variables to Not-a-Number values" defaulting to "none". git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@321 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl7
1 files changed, 5 insertions, 2 deletions
diff --git a/param.ccl b/param.ccl
index f389b10..225352e 100644
--- a/param.ccl
+++ b/param.ccl
@@ -159,9 +159,12 @@ INT padding_address_spacing "Number of CCTK_REALs to space starting addresses in
0:* :: "Any positive number"
} 24
-BOOLEAN zero_memory "Zero memory for grid functions and arrays at allocation time ?"
+KEYWORD initialize_memory "How to initialize memory for grid variables at allocation time" STEERABLE = ALWAYS
{
-} "yes"
+ "none" :: "Do not initialize storage for allocated grid variables (default)"
+ "zero" :: "Zero out all elements of all allocated grid variables"
+ "NaN" :: "Set all elements of allocated floating point grid variables to Not-a-Number values"
+} "none"
KEYWORD partition "Is the partition manual"