Next: AIF_OPFIO - Opens a Fortran sequential file by name
Up: Routine Descriptions
Previous: AIF_FLNAM - Returns the name of a file as a character string given its parameter name
AIF_GETVM
- Obtains a pointer and a locator to mapped HDS workspace
- Description:
- This routine obtains and file maps a temporary array of a given
data type and dimensions via HDS. A pointer to the mapped work
array is returned, as is a locator so that the temporary array
may be annulled when no longer required.
- Invocation:
- CALL AIF_GETVM( TYPE, NDIM, DIMS, PNTR, WKLOC, STATUS )
- Arguments:
-
-
TYPE = CHARACTER
(
) (Given)
-
The HDS data type of the temporary array.
-
NDIM = INTEGER (Given)
-
The number of dimensions of the work array.
-
DIMS( NDIM ) = INTEGER (Given)
-
The dimensions of the temporary array.
-
PNTR = INTEGER (Returned)
-
The pointer to the mapped temporary array.
-
WKLOC = CHARACTER
( DAT__SZLOC )(Returned)
-
The HDS locator to the temporary array.
-
STATUS = INTEGER (Given and Returned)
-
The global status.
- Notes:
- The current HDS tuning parameter MAP is stored, so that the
temporary array may be accessed via file mapping, and upon exit
restored to its former value.
Next: AIF_OPFIO - Opens a Fortran sequential file by name
Up: Routine Descriptions
Previous: AIF_FLNAM - Returns the name of a file as a character string given its parameter name
KAPLIBS -- Internal subroutines used within the KAPPA package.
Starlink User Note 238
D.S. Berry
Malcolm J. Currie
9th March 2009
E-mail:ussc@star.rl.ac.uk
Copyright © 2010 Science and Technology Facilities Council