[ET Trac] [Einstein Toolkit] #798: allow calculations in parameter assignments in parameter files

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed Apr 18 18:14:54 CDT 2012


#798: allow calculations in parameter assignments in parameter files
--------------------------+-------------------------------------------------
  Reporter:  rhaas        |       Owner:           
      Type:  enhancement  |      Status:  review_ok
  Priority:  optional     |   Milestone:           
 Component:  Cactus       |     Version:           
Resolution:               |    Keywords:           
--------------------------+-------------------------------------------------
Changes (by eschnett):

  * status:  review => review_ok


Comment:

 With the test suite okay to apply.

 More nagging:
 - Is the comparison operator really = and not == ?
 - The behaviour of % is now fixed (as of C99), but used to be
 implementation defined.
 - Issues such as % vs. fmod or the associativity for {{{**}}} should be
 documented, probably with a caveat that we may change this in the future
 - I see that the order in which the parameters are given does now matter.
 That is new -- the documentation should warn about this, and that the
 behaviour may change. (We may want to disallow accessing a parameter that
 is set at a later time.)

 Thanks for all the work!

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


More information about the Trac mailing list