[ET Trac] [Einstein Toolkit] #1554: Want to define constants in parameter files

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed May 21 01:32:09 CDT 2014


#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.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1554#comment:33>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list