zone.create.pos

Syntax

z = zone.create.pos(s,lpos<,ftol>)

Create a zone given a list of locations in space.

s must indicate the zone type. Available zone types are brick, wedge, pyramid, degenerate-brick, or tetrahedra. Command keyword matching rules apply.

lpos must be a list of vectors indicating the positions of the vertices of the zone. The number, order, and orientation of the locations must match the description in Orientation of Nodes and Faces within a Zone. If a grid point already exists at that location it will be used. If it does not then one will be created.

ftol is an optional absolute tolerance used when searching for existing grid points at a given location. If not specified the default tolerance used is 1e-7 times the maximum absolute value of any component in all posititions supplied.

Note: There is no FISH function for zone deletion. For performance and data integrity reasons this can only be done through the zone delete command. The reccomended procedure is to tag all zones intended for deletion with a group name (see zone.group) and use that group name as a range in a later zone delete command.

Returns:

z - a pointer to a newly created zone

Arguments:

s - a string indicating the zone type

lpos - a list of locations.

ftol - an optional tolerance used when searching for existing grid points.