logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CPMVIW - Moves the contents of an old integer workspace to a new one.

Access

       To use CPMVIW or c_cpmviw, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably  in
       that order.

C-Binding Description

       The C-binding argument descriptions are the same as the FORTRAN argument descriptions.

C-Binding Synopsis

       #include <ncarg/ncargC.h>

       void c_cpback (int *iwko, int *iwkn, int *lwkn)

Description

       The arguments define the old and new integer workspaces.

       IWKO        (an input array of type INTEGER, dimensioned as specified in the last call to CPRECT, CPSPS1,
                   CPSPS2, or CPMVIW) is the old integer workspace array.

       IWKN        (an output array of type INTEGER, dimensioned LWKN) is the new integer workspace array.

       LWKN        (an input expression of type INTEGER) specifies the length of IWKN.

Examples

       None, at present.

Messages

       See the conpack man page for a description of all Conpack error messages and/or informational messages.

Name

       CPMVIW - Moves the contents of an old integer workspace to a new one.

See Also

       Online:  conpack, cpback, cpchcf, cpchcl, cpchhl, cpchil, cpchll, cpcica, cpclam, cpcldm, cpcldr, cpcltr,
       cpcnrc, cpdrpl, cpezct, cpgetc, cpgeti, cpgetr, cplbam, cplbdr, cpmpxy, cpmvrw, cppkcl,  cppklb,  cprect,
       cprset, cpscae, cpsetc, cpseti, cpsetr, cpsps1, cpsps2, ncarg_cbind

       Hardcopy: NCAR Graphics Contouring and Mapping Tutorial

Synopsis

       CALL CPMVIW (IWKO, IWKN, LWKN)

Usage

       When,  in  the execution of a CONPACK routine, the amount of space left in the integer workspace array is
       found to be insufficient, if the internal parameter 'WSO' has the value  3,  the  error-handling  routine
       SETER  is  called  with an appropriate error message.  If, in addition, the user has turned recovery mode
       on, execution continues and, eventually, control is returned to the user.  At that point, the user should
       detect the fact that an error has occurred.  If he/she chooses to try to recover from the  error,  CPMVIW
       may  be  of  use:  it  may  be called to move everything from the current integer workspace to a new (and
       presumably bigger) one, after which it may be possible to resume execution.

See Also