next up previous contents index
Next: A Time-Curve Example Up: Project Curve Previous: Project Curve

Using Variables in Functions

 

The coordinate functions and the definition interval of the curve are read as strings from an input file, compiled into an internal representation with the function compiler (see section 10.2.8) and evaluated during the computation. The function compiler is also used for other subprojects of Time-Object resp. subclasses of Time_Object, for example for the coordinate functions and the domain data of Explicit and the point coordinates of Surface_Build instances.

Besides the int and double variables provided by the superclass Time_Object the time and the domain variables can be used for functions:

There are currently some limitations for the use of the variables, only eight variables (including the time and the domain points) are allowed for each description file and the int and double variables can for example not be used for the domain data. Using a variable which isn't defined or cannot be used will result in an error while reading the input file.


next up previous contents index
Next: A Time-Curve Example Up: Project Curve Previous: Project Curve

SFB 256 Universität Bonn and IAM Universität Freiburg

Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.