[ET Trac] [Einstein Toolkit] #1077: evaluate steered value as formula in AEIThorns::Trigger
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Mon Sep 10 10:58:15 CDT 2012
#1077: evaluate steered value as formula in AEIThorns::Trigger
--------------------------+-------------------------------------------------
Reporter: rhaas | Owner:
Type: enhancement | Status: review
Priority: minor | Milestone:
Component: Other | Version:
Resolution: | Keywords: AEIThorn::Trigger
--------------------------+-------------------------------------------------
Comment (by rhaas):
One could make the code in src/eval.c part of the flesh I'd think. It does
a bit more than the parameter evaluator since it also uses grid scalars as
variables which is not always possible for parameters (since parameters
are evaluated before the grid functions have storage for example).
The other option would be to extract code from the beginning of
src/main/Parameters.c/ParameterSet* to handle the different parameter
types. This is more or less what the proposed patch does for trigger.
If we make it part of the flesh I think it might be useful to expose the
two halves (expression parsing and expression evaluation) separately just
in case some one wants to apply this to a whole grid function.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1077#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list