#462: allow paramters in STORAGE statements -------------------------+-------------------------------------------------- Reporter: rhaas | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Cactus | Version: Keywords: | -------------------------+-------------------------------------------------- the attached patch allows constructs such as:
STORAGE metric[timelevels]
instead of the currently used and more cumbersome:
if(timelevels == 1) { STORAGE metric[1] } else if(timelevels == 2) { ... }
The full set of Curie test suites pass (on my workstation usin gcc 4.6, OpenMP and 2 processes) with just that patch and with the second patch to GRHydro that actually uses the new facilities