[Developers] CCTK_ORIGIN_SPACE ?

Ian Hinder hinder at gravity.psu.edu
Tue Dec 18 12:16:03 CST 2007


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.

The macro CCTK_ORIGIN_SPACE (and its associated variable,
cctk_origin_space) are documented in the Cactus Users' Guide:

http://www.cactuscode.org/old/Guides/Stable/UsersGuide/UsersGuideHTML/node94.html

Here, it says:

"cctk_origin_space

    An array of cctk_dim CCTK_REALs with the spatial coordinates of the
global origin of the grid. The coordinates of the 21#21th local grid
point in the 16#16 direction can e.g. in C be calculated by x =
CCTK_ORIGIN_SPACE(0) + (cctk_lsh[0] + i) * CCTK_DELTA_SPACE(0)."

Now, this brings up several issues:

(1) I think the example is wrong.  I think it should say

  x = CCTK_ORIGIN_SPACE(0) + (cctk_lbnd[0] + i) * CCTK_DELTA_SPACE(0).

(2) The HTML documentation on the cactuscode.org website contains
expressions like the '21#21' above.  What are these?

While I am on the subject of documentation, something I have wanted for
a long time is an online HTML version of the Cactus reference manual.
It is currently only available in DVI (!!), PostScript and PDF.  Worse,
the internal hyperlinks in the PDF version don't seem to work for me,
which means one has to scroll through pages and pages manually in order
to find the function one wants.

Also, the URL above mentions 'old' which is a reference I think to the
site redesign that occurred in June 2006.  Is there a more modern
version? The site redesign is mentioned on the main page as 'recent'.
Perhaps this message should be changed?

Further, there is a note in the documentation section that says the
documentation is for the 'released' version.  Are there a significant
number of users using the released version?

Wow, that is a lot of complaints for one email :)

-- 
Ian Hinder
hinder at gravity.psu.edu
http://www.gravity.psu.edu/~hinder


More information about the Developers mailing list