gdrls
FORTRAN integer gdrls, ier ier = gdrls(gdid) integer gdid |
C int c_gdrls(int gdid) |
Routine description
gdrls removes the grid associated with gdid from the ezscint package and releases all the information associated with the grid. It invalidates all the gridsets (gdin, gdout) referring to this grid as well. This function is provided as a personal optimization tool, as the package will call it automatically when it will run out of grid space, on a first-come, first served basis. |
Description of parameters
gdid |
a valid grid identifier (returned by ezqkdef or ezgdef) that will be used as the source (input) grid. |
?
Sample C code, taken in fact from the function gdllsval :
currentGdSet = iset; npts = n; un = 1; strcpy(grtyp, "Y"); strcpy(grref, "L"); xg1 = 0.0; xg2 = 0.0; xg3 = 1.0; xg4 = 1.0; f77name(cxgaig)(grref, &ig1, &ig2, &ig3, &ig4, &xg1, &xg2, &xg3, &xg4); llgdid = c_ezgdef(n, un, grtyp, grref, ig1, ig2, ig3, ig4, lon, lat); c_ezdefset(llgdid, gdid); c_ezsint(zout, zin); ier = c_gdrls(llgdid); iset = currentGdSet;
Go to the list of functions, or the general index