#1554: Want to define constants in parameter files --------------------------+------------------------------------------------- Reporter: eschnett | Owner: sbrandt Type: enhancement | Status: closed Priority: major | Milestone: Component: Cactus | Version: development version Resolution: fixed | Keywords: --------------------------+-------------------------------------------------
Comment (by hinder):
I assumed that the built-in mathematical functions which Cactus supports in parameter file expressions, such as sqrt, would also be reserved words. It's possible that we have a different namespace for functions and constants, but I don't think that is a good idea. I also think that parameter files should not allow the same parameter or constant to be defined more than once, and that the ordering of statements in a parameter file should not matter. i.e. the above fragment should give an error about a multiply-defined constant.