gp.create

Syntax

gp := gp.create(v)

Creates a new grid point at location v.

No check is made to see if there is already an existing grid point at this location. Grid points that remain unconnected to any zones will cause an error if cycling is attempted (zero stiffness).

If this function is called from a multithreaded context the grid point will be created but will not be added to the list until threading exits. The pointer returned is valid, but no id number will be assigned and the grid point will not be found in the list (using gp.find for example) or in a spatial search (using gp.near for example) until threading exits.

See gp.name if you wish to identify the grid point for later use.

Returns:gp - A pointer to the grid point created.
Arguments:v - The location the grid point is created.