KPG1_AVLUT

Associates, validates and maps an lookup table stored in an NDF

Description:

This routine associates for read access an NDF that is presumed to contain a lookup table in its data array. A series of validation checks are made: the array must be two-dimensional, the first dimension must be 3, the range of values must lie in the range 0.0–1.0. The last of these requires that the data array is mapped therefore for convenience and efficiency a pointer and length are returned. The lookup table mapped with type _REAL.

Invocation

CALL KPG1_AVLUT( PNLUT, NDFL, PNTRI, EL, STATUS )

Arguments

PNLUT = CHARACTER ( ) (Given)
The ADAM parameter to be associated with the NDF.
NDFL = INTEGER (Returned)
The identifier for the NDF containing the lookup table.
PNTRI( 1 ) = INTEGER (Returned)
The pointer to the mapped NDF lookup table.
EL = INTEGER (Returned)
The length of the mapped NDF.
STATUS = INTEGER (Given and Returned)
The global status.