CPMVRW(3) Moves the contents of an old real workspace to a new one.

SYNOPSIS

CALL CPMVRW (RWKO, RWKN, LWKN)

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.

C-BINDING DESCRIPTION

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

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.

EXAMPLES

None, at present.

ACCESS

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

MESSAGES

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

COPYRIGHT

Copyright (C) 1987-2009
University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement.