| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
data is a pointer to user-supplied data used for evaluating the expression. It should not be modified by the evaluation. Note that this modifies the flesh API to the (undocumented) thorn-visible function Util_ExpressionEvaluate.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4922 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
Some extra checking.
Moved types not needed by external stuff into its own header.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2459 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
Now can deal with both floating point and integer values.
You can use the functions from the standard C maths library which take
one argument.
Evaluation should be faster, 'though parsing is probably a bit slower.
Now the user-supplied evaluation routine is called just once at the
beginning of the evaluation, so if any of the evaluations need a global
operation, these can all be done at once.
The routines have now been renamed as Util_ functions and the
header file cctki_Expression.h has been renamed as util_Expression.h.
IMPORTANT NOTE:
The above means you will need to
rm configs/*/build/Cactus/util/Expression.c.d
rm configs/*/build/Cactus/main/Groups.c.d
after updating to get rid of stale dependency files.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2449 17b73243-c579-4c4c-a9d2-2d5706c11dac
|