#1554: Want to define constants in parameter files --------------------------+------------------------------------------------- Reporter: eschnett | Owner: sbrandt Type: enhancement | Status: assigned Priority: major | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by rhaas):
Actually: do we really want this? Turning the parfiles into a small turing incomplete programming language might not be the best idea. Personally I do not find the overhead of rpar files to be onerous. If we introduce a variable (to set several parameters to the same value) then maybe a better solution is to have the C code have functionality to use-that-other- parameter.
I would try and limit the variables to the top part of the file so that they are not scattered through the file (though that of course differs on whether one likes eg C++ conventions or C conventions).