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

CPMVRW - Moves the contents of an old real workspace to a new one.

Access

       To  use CPMVRW or c_cpmvrw, 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 (float *iwko, float *iwkn, int *lwkn)

Description

       The arguments define the old and new real workspaces.

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

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

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

Examples

       None, at present.

Messages

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

Name

       CPMVRW - Moves the contents of an old real 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, cpmviw, cppkcl, cppklb, cprect,
       cprset, cpscae, cpsetc, cpseti, cpsetr, cpsps1, cpsps2, ncarg_cbind

       Hardcopy: NCAR Graphics Contouring and Mapping Tutorial

Synopsis

       CALL CPMVRW (RWKO, RWKN, LWKN)

Usage

       When, in the execution of a CONPACK routine, the amount of space left in  the  real  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, CPMVRW
       may be of use: it may be called to move everything  from  the  current  real  workspace  to  a  new  (and
       presumably bigger) one, after which it may be possible to resume execution.

See Also