next up previous
Next: User Routines Up: Steering Card Previous: Predefined Banks

User Functions for Steering Card Access

In order to add an additional parameter to the steering card, two steps are required. First the parameter has to be initialized before the steering card is read using one of the following routines :

where bank is the four letter bank name, identifier is the one to four character identifier and the value is the default value of the type corresponding to the type of the parameter.

After the steering card has been read, the user can retrieve the current parameter value. To do so, three functions are available :

where bank and identifier correspond to the values given above and value will be the one given in the steering card or the default parameter, if the corresponding bank or identifier in the bank was not set in the steering card. Values and banks may appear more than once in a steering card, but only the last value is stored and can be retrieved.

In principle the get routines could be called each time one of the values is needed, but since this requires several string comparisons, it is rather slow. The recommended procedure is to get the values once and store them in a FORTRAN common block.


next up previous
Next: User Routines Up: Steering Card Previous: Predefined Banks
latex2html conversion by www person on 1999-12-19