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

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu Mar 27 13:19:10 CDT 2014


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

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


More information about the Trac mailing list