attach.create

Syntax

a = attach.create(g,a1<,a2>)

If only one gridpoint pointer is given as a parameter, creates an attachment to a gridpoint. If two gridpoint pointers are given, creates an attachment to an edge. If a zone pointer and a face index (1 to 6) are given, creates an attachment to a zone face. Function returns null if failure occurs. The first parameter is the slave gridpoint. Attachment weights are determined automatically based on current geometry, but may be overridden by using the attach.weight.edge or attach.weight.face intrinsic functions.

Returns:

a - attach pointer

Arguments:

g - slave gridpoint pointer

a1 - gridpoint pointer, or zone pointer

a2 - gridpoint pointer if the second argument is a gridpoint pointer,

or index of the matching face, from 1 to 6, if the second argument is a zone pointer