#include "grid.h"
FUNCTION c_copygrid (ingrid, outgrid)
struct GRID *ingrid; struct GRID *outgrid;
The ADAPS geometric mapping grid that is to be copied.
The ADAPS geometric mapping grid that is to receive all of the values contained in ingrid.
All of the dynamic memory currently allocated for outgrid is freed, enough memory is allocated to duplicate ingrid, and each value of ingrid is copied to outgrid.
c_copygrid() returns
E_SUCC --> Successful completion. E_FAIL --> Operation failed.