[ET Trac] [Einstein Toolkit] #1307: Support/Evaluate expressions also in default values within param.ccl (e.g. $parfile)
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Thu Apr 25 13:53:02 CDT 2013
#1307: Support/Evaluate expressions also in default values within param.ccl (e.g.
$parfile)
-----------------------+----------------------------------------------------
Reporter: eschnett | Owner: knarf@…
Type: defect | Status: new
Priority: minor | Milestone: ET_2013_11
Component: Other | Version:
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by rhaas):
> extern "C" void *CCTK_EvaluateExpr(const char *expr,int *type);
It might be good to add the word "Parameter" somwhere in the function
name. For the trigger thorn (ticket ) we also wanted to expose a flesh
function to evaluate expressions containing both parameters and grid
scalars as variables. The later one might be all fancy and allow the user
to choose which variables to expand (parameters, grid scalars, both, none)
and even let the caller pass in an extra list of name-value pairs for
private variables that one wants to use.
Should the routine CCTK_EvaluateExpr be public or flesh internal (ie CCTK
or CCTKi)?
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1307#comment:7>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list