- changed status to open
- removed comment
Add lssh field to cGroupDynamicData
Issue #951
resolved
The size and memory layout of grid functions is described by two variables, cctk_lsh and cctk_lssh. The structure cGroupDynamicData is missing the lssh field. I propose to add it, and am providing a patch.
cctk_lssh is originally intended to support staggered grid functions, i.e. grid functions that have fewer "active" grid points than are allocated in memory (e.g. n-1 cells vs. n vertices). This can also be used to pad grid variables, which can improve cache efficiency and vectorisation.
Fully supporting cctk_lssh in the flesh will later allow supporting padding in Carpet and/or PUGH.
Keyword:
Comments (3)
-
reporter -
repo owner - removed comment
patch looks good. Please apply.
-
reporter - changed status to resolved
- removed comment
Applied.
- Log in to comment