aboutsummaryrefslogtreecommitdiff
path: root/Tools/CodeGen/Penalty.m
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2008-08-04 12:07:25 -0500
committerIan Hinder <ian.hinder@aei.mpg.de>2009-04-27 21:48:44 +0200
commitf29fad1ac38b99c37416dd96fd8e1449d1c0b77f (patch)
tree8abf314498adc969d84a31b1dd0f91827838a472 /Tools/CodeGen/Penalty.m
parent4c2116d9271c337418ed7ae15f535e73de6bb234 (diff)
Use cctk_lssh instead of cctk_lsh when calculating grid function extents. This will allow future optimisations with cache-aligned memory allocations.
Correct an error in declaring local variables for partial derivatives. Don't register constrained variables, which is in general not necessary but which can use much memory. Register symmetries in the schedule group SymmetryRegister instad of at basegrid.
Diffstat (limited to 'Tools/CodeGen/Penalty.m')
-rw-r--r--Tools/CodeGen/Penalty.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/CodeGen/Penalty.m b/Tools/CodeGen/Penalty.m
index 65e0ddd..469ddbb 100644
--- a/Tools/CodeGen/Penalty.m
+++ b/Tools/CodeGen/Penalty.m
@@ -325,6 +325,7 @@ char2prim =
CCTK_REAL ARRAY IN base, \
CCTK_INT ARRAY IN lbnd, \
CCTK_INT ARRAY IN lsh, \
+ CCTK_INT ARRAY IN lssh, \
CCTK_INT IN rhs_flag, \
CCTK_INT IN num_modes, \
CCTK_POINTER_TO_CONST ARRAY IN modes"};
@@ -339,6 +340,7 @@ prim2char =
CCTK_REAL ARRAY IN base, \
CCTK_INT ARRAY IN lbnd, \
CCTK_INT ARRAY IN lsh, \
+ CCTK_INT ARRAY IN lssh, \
CCTK_INT IN rhs_flag, \
CCTK_INT IN num_modes, \
CCTK_POINTER ARRAY IN modes, \