Constants and Variables

define constant pi = 3.1415 define constant omega = (2 * pi * 10E3) define variable t = 0A constant is given its value at definition. A variable is initialized to an value, but later, its value may be changed from a numproc. An example is the time variable for dynamic problems.

The right hand side can be a constant, or a constant expression. Expressions must be put into brackets. Expressions may contain the following operations:

Note: Variables are not available, constant must be set to a floating-point value.

Joachim Schoeberl 2002-07-15