Arithmetic operators are:
The Cartesian coordinates are constructed by:
X_coordinate X(grid); Y_coordinate Y(grid); Z_coordinate Z(grid);
Scalar product: Let
be
the set of grid points of the marker mark. Then,
following scalar products are defined for variables of type
Variable:
product(u,v,mark) |
|
---|---|
product(u1,u2,v1,v2,mark) |
|
product(u1,u2,u3,v1,v2,v3,mark) |
|
The functions
product(u,v), product(u1,u2,v1,v2), product(u1,u2,u3,v1,v2,v3)
calculate the scalar product whereis
chosen to be the whole set of grid points.
Maximum, minimum,...: Let
be
the set of grid points of the marker mark .Then,
following functions are defined for variables of type Variable:
Maximum(u,mark) |
|
---|---|
Minimum(u,mark) |
|
L_infty(u,mark) |
|
The functions
Maximum(u), Minimum(u), L_infty(u)
calculate maximum and minimum, whereis
chosen to be the whole set of grid points.
L_infty and propuct can be calculated for cell variables by the functions:
product_cell(u,v), L_infty_cell(u) where u,v are variables of type Cell_variable;Handbook
Last modified: Tue Feb 8 10:34:20 MET 2000