i := gp.delete(gp)

Destroys the grid point.

The grid point must be unconnected to any zones or an error will occurr.

If this function is called from a multithreaded context the grid point will not be deleted until threading exits.

Returns:i - The return value is always the integer 0.
Arguments:gp - A pointer to the grid point to destroy.