c_putgrd - Writes a geometric mapping grid to disk
SYNTAX
#include "geompak.h"
FUNCTION c_putgrd(hname, grid)
char *hname;
struct GEOGRID *grid;
PARAMETERS
hname (input, character, length(CMLEN))
Host file to which the output geometric mapping grid is written.
grid (input, GEOGRID)
A GEOGRID structure that contains the entire geometric mapping grid.
DESCRIPTION
This routine takes as input an entire geometric mapping grid, creates the output mapping grid file,
writes the mapping grid to disk, and closes the file. This onestep operation is provided since most
routines which use geometric mapping grids need the entire grid in memory while doing operations
on it.
RETURN VALUE
c_putgrd() returns
E_SUCC (0) --> successful completion
E_FAIL (-1) --> operation failed
SPECIAL CONSIDERATIONS:
The c_putgrd() call is for C only.