attach.create

Syntax

a = attach.create(g,p1<,p2>)

Note

  • In the description below, the following correspondence is assumed between 3D and 2D analysis:
    • 3D zone faces (surfaces) <-> 2D zone edges (lines)

    • There is no 2D equivalence for 3D zone edges

Creates an attachment to a gridpoint, zone edge (3D only) or zone face (2D and 3D)

For FLAC2D:

Creates an attachment to a gridpoint if only one gridpoint is given as a parameter.

Creates an attachment to a zone face if a zone pointer and a face index (from 1 to 4) are given as parameters.

For FLAC3D:

Creates an attachment to a gridpoint if only one gridpoint is given as a parameter.

Creates an attachment to a zone edge if two gridpoint pointers are given as parameters.

Creates an attachment to a zone face if a zone pointer and a face index (from 1 to 6) are given as parameters.

Function returns null if failure occurs. The first parameter is the follower gridpoint. Attachment weights are determined automatically based on current geometry, but may be overridden by using the attach.weight.edge (FLAC3D) or attach.weight.face (FLAC2D and FLAC3D) intrinsic functions.

Returns:

a - attach pointer

Arguments:

g - follower gridpoint pointer

p1 - gridpoint pointer or zone pointer

p2 - gridpoint pointer if the second argument is a gridpoint pointer, or index of the matching edge (in 3D) or face (in 2D or 3D) if the second argument is a zone pointer