gpnext :=

Get the next gridpoint after gp in the list of all gridpoints in the model. Will return null if no more gridpoints follow.

This function should be considered deprecated; it is provided mostly for backwards compatibility with old data files. Instead, see the ForEach Loop statement and the gp.list function. See also the gp.head function.

Returns:gpnext - the next gridpoint in the list or null
Arguments:gp - a pointer to a gridpoint