[Users] cctk_lsh and ghost points

Ian Hinder 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.

-- 
Ian Hinder
http://numrel.aei.mpg.de/people/hinder

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20120510/54520002/attachment.html 


More information about the Users mailing list