summaryrefslogtreecommitdiff
path: root/src/include/util_Expression.h
Commit message (Collapse)AuthorAge
* Make data parameter of expression evaluation functions consthinder2012-11-30
| | | | | | 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
* Latest changes:goodale2001-11-07
| | | | | | | | | | 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
* New improved, or at least more functional, expression parser and evaluator.goodale2001-11-04
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