gp.near.all

Syntax

gp = gp.near.all(v)

Get the gridpoint nearest v; will return null if there are no gridpoints in the model. Will include all gridpoints, including those only connected to mechanically null zones.

Returns:gp - the pointer to the gridpoint closest to v
Arguments:v - a point in space