#951: Add lssh field to cGroupDynamicData -------------------------+-------------------------------------------------- Reporter: eschnett | Owner: Type: enhancement | Status: new Priority: major | Milestone: Component: Cactus | Version: Keywords: | -------------------------+-------------------------------------------------- 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.