[Users] cctk_lsh and ghost points
ian.hinder at aei.mpg.de
Thu May 10 00:46:05 CDT 2012
On 10 May 2012, at 06:50, Petr Tsatsin wrote:
> I have a very basic question about ghost points in Cactus. Is the cctk_lsh contains the size of the local grid with ghost points or not?
Yes. It the the number of points on the local component. You should exclude cctk_nghostzones[i] points from each face of the grid if you want to loop over only interior points. There are macros in cctk_Loop.h to help with this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users