Utility/Data Access
SubroutineSaves the user-defined work array data.
Use
The function can be called by any user-defined subroutine.
Format
- Fortran Calling Syntax
- CALL SAVPAR(ID, RPAR, NSIZE, INFO)
- C/C++ Calling Syntax
- c_savpar(id, rpar, nsize, info)
- Python Calling Syntax
- info = py_savpar(id, rpar)
- MATLAB Calling Syntax
- info = m_savpar(id, rpar)
Attributes
- ID
- [integer]
- Specifies a unique identifier for the data block.
- RPAR
- [double]
- An array of double precision values that contains the user-defined work
array data to be saved.
- NSIZE
- [integer]
- The size of the work array.
Output
- INFO
- [integer]
- A value that indicates the status of the call to SAVPAR
as follows:
- 0
- Normal return.
- 1
- ID not found, RELOAD ignored,
NSIZE will be set to zero.
- -1
- Access violation in copying to RPAR. You are
responsible for making sure that RPAR is at
least of size equal to NSIZE.