#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 Erik Schnetter):

A belated comment on the implementation: There could be global variables, one per grid function, that are initialized to -1, and which are set by the flesh for all active thorns. This way not extra functions need to be scheduled, and thorns can use these global variables to look up variable indices.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2319/do-not-use-static-variables-in