Next: 1.3.3 Modification of the numbers Up: 1.3 Main ideas Prev: 1.3.1 The NOPO data structure Index Contents
There are two options to describe a curve which the mesh approximates:
A typical example of function FFRONT is given below:
FUNCTION FFRONT(I,X,Y) IF ( I .EQ. 1) THEN FFRONT = function(X,Y) ELSE IF ( I .EQ. nnn ) FFRONT = ... ELSE IF ... ... END IF END
A typical example of a function parser, for example the description of the line with reference 1 by a function, is the following:
The first case corresponds to writing a FORTRAN function and linking it at execution. In the second case, the curves are given in a data file, thus avoiding performing a link.