[ET Trac] [Einstein Toolkit] #350: Autogenerating cctk_Loop.h
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue May 8 11:24:24 CDT 2012
#350: Autogenerating cctk_Loop.h
--------------------------+-------------------------------------------------
Reporter: eschnett | Owner:
Type: enhancement | Status: review
Priority: minor | Milestone:
Component: Cactus | Version:
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Comment (by eschnett):
Yes, brevity is the reason for not using CCTK_INDEX. This would require
{{{
CCTK_GFINDEX3D(cctkGH, CCTK_INDEX[0], CCTK_INDEX[1], CCTK_INDEX[2])
}}}
or (in Fortran)
{{{
gxx(CCTK_INDEX(1), CCTK_INDEX(2), CCTK_INDEX(3))
}}}
which may lead people to not use these macros (or make them add their own
boilerplate to introduce shorter names).
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/350#comment:16>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list