diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2009-09-21 11:34:34 -0500 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 16:45:09 +0000 |
commit | c085bd77e10269a141fa00e27a92e36697589b96 (patch) | |
tree | fb65a95a0d8b427cb57767c0af1e5a670249cb05 /Carpet/CarpetLib/param.ccl | |
parent | 0e7806cba5f78ac0b19bb93df919e84e95c1465b (diff) |
CarpetLib: Implement padding for grid variables
Ignore-this: 1a389f0dd3f40a0c0edb3fdabd6e7d40
Padding grid variables means that e.g. a component of size 32x32x32 is
allocated as 33x33x33 instead, but only 32x32x32 of this storage is
used. This can improve cache performance considerably. This requires
corresponding changes to the cGH entries.
Diffstat (limited to 'Carpet/CarpetLib/param.ccl')
-rw-r--r-- | Carpet/CarpetLib/param.ccl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/param.ccl b/Carpet/CarpetLib/param.ccl index 31a43a135..0dd901181 100644 --- a/Carpet/CarpetLib/param.ccl +++ b/Carpet/CarpetLib/param.ccl @@ -120,6 +120,16 @@ BOOLEAN combine_recompose "Recompose all grid functions of one refinement levels +# Memory allocation parameters + +INT avoid_arraysize_bytes "Avoid array sizes that are multiples of this" STEERABLE=recover +{ + 0 :: "don't avoid anything" + 2:* :: "" +} 0 + + + # Communication experiment parameters INT message_size_multiplier "Enlarge size of transmitted messages by this factor" STEERABLE=always |