[Developers] CCTK_ORIGIN_SPACE ?
Erik Schnetter
schnetter at cct.lsu.edu
Tue Dec 18 14:56:27 CST 2007
On Dec 18, 2007, at 06:29:01, Thorsten Kellermann wrote:
> Hy all together
>
> Can somebody explain me the meaning of this macro, cctk_origin_space ?
> I guess what it should do, but it's not really clear to me, what its
> purpose.
There are two entities, the variable cctk_origin_space, and the macro
CCTK_ORIGIN_SPACE. The variable refers to the coarsest grid, the
macro to the current refinement level. Without mesh refinement, both
are the same.
CCTK_ORIGIN_SPACE is the coordinate of the leftmost grid point of the
current level, i.e., of the grid point with global index 0 in C. On
multiple processors, it is the overall leftmost grid point, not the
leftmost grid point of the current processor.
-erik
--
Erik Schnetter <schnetter at cct.lsu.edu> http://www.cct.lsu.edu/
~eschnett/
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from www.keyserver.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://www.cactuscode.org/pipermail/developers/attachments/20071218/1daac353/attachment.bin
More information about the Developers
mailing list