# gp.near.live

Syntax

gp := gp.near.live(v,bmech,bfluid,btherm,s)

Get the gridpoint nearest point v. Which gridpoints are to be considered is controlled by the four arguments following. If mech, fluid, or therm is true, then gridpoints connected to zones containing non-null constitutive models in those processes are considered. The third string argument s must be either and or or, indicating whether the models are all required or if any one of them is sufficient.

Returns: gp - the pointer to the gridpoint matching the criteria nearest v v - a point in space bmech - indicates if mechanically non-null zones are to be considered bfluid - indicates if fluid non-null zones are to be considered btherm - indicates if thermal non-null zones are to be considered s - must be either and or or, indicates whether one or all of the non-null models must be present