diff options
author | Erik Schnetter <schnetter@gmail.com> | 2012-07-03 21:31:44 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2012-07-03 21:31:44 -0400 |
commit | 9ce7bb8b13b52e890e60e770550c3d98536b4f8a (patch) | |
tree | d0d6b0dbc930289ec7e9fd99e7f7b663512cd185 /Tools/CodeGen/Thorn.m | |
parent | 384c2607f98506f570b594c3b5a21c8996a99065 (diff) |
Introduce cctk_ash, retire cctk_lssh
Introduce cctk_ash, describing the process-local array shape that has
been allocated. This may be larger than cctk_lsh, the process-local
shape that should be used.
Retire cctk_lssh and related infrastructure to handle staggered grid
functions.
Diffstat (limited to 'Tools/CodeGen/Thorn.m')
-rw-r--r-- | Tools/CodeGen/Thorn.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/CodeGen/Thorn.m b/Tools/CodeGen/Thorn.m index ca81f73..47c50eb 100644 --- a/Tools/CodeGen/Thorn.m +++ b/Tools/CodeGen/Thorn.m @@ -1241,7 +1241,7 @@ headerComment2, " assert (len);\n\n", " for (d = 0; d < 3; ++d) {\n", -" assert (off[d] >= 0 && len[d] >= 0 && off[d] + len[d] <= CCTK_LSSH(0,d));\n", +" assert (off[d] >= 0 && len[d] >= 0 && off[d] + len[d] <= cctk_lsh[d]);\n", " }\n\n", " assert (modes);\n", |