[Developers] CCTK_ORIGIN_SPACE ?
Erik Schnetter
schnetter at cct.lsu.edu
Tue Dec 18 14:52:58 CST 2007
On Dec 18, 2007, at 11:16:03, Ian Hinder wrote:
> 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).
Yes. This has already been corrected in the latex version, it's just
that the online pdf and html are out of date.
> (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.
Converting latex to html is very difficult. Usually, equations look
just plain ugly, and things like tables or figures don't turn out
nice either. Since PDF can be searched, are indexed by google, and
have hyperlinks, I would be inclined to only have PDF.
> 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 :)
Thanks for the pointers!
-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/2412e8ae/attachment.bin
More information about the Developers
mailing list