#2319: do not use static variables in CCTK_DECLARE_ARGUMENTS
| Reporter: | Roland Haas |
| Status: | open |
| Milestone: | |
| Version: | |
| Type: | enhancement |
| Priority: | minor |
| Component: | Cactus |
Comment (by Roland Haas):
There are no extra scheduled functions in the Cactus sense. I generate one helper function per thorn that is directly called by the flesh, mostly because this is the way grid variable registration is done as well (one function CactusBindingsVariables_${thorn}_Initialise per thorn to register its grid variables with the flesh) so having a CactusBindingsVarIndex_${thorn}_Initialise(void) seemed most natural.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2319/do-not-use-static-variables-in