zone.face.find
Syntax
- i := zone.face.find(z,gp1,gp2) (FLAC2D)
- i := zone.face.find(z,gp1,gp2,gp3) (FLAC3D)
Note
- In the description below, the following correspondence is assumed between 3D and 2D analysis:
3D zone faces (surfaces) <-> 2D zone edges (lines)
In FLAC2D, get the face index of zone z that contains the two gridpoints gp1, gp2.
In FLAC3D, get the face index of zone z that contains the three gridpoints gp1, gp2, and gp3.
Each gridpoint may be specified by pointer or by ID number. If no face is found, −1 is returned.
- Returns:
i - the index of the matching face (from 1 to 4 in 2D, from 1 to 6 in 3D) or -1 if no match is found
- Arguments:
z - a pointer to a zone
gp1 - either a pointer to a gridpoint or a gridpoint ID number
gp2 - either a pointer to a gridpoint or a gridpoint ID number
gp3 - either a pointer to a gridpoint or a gridpoint ID number (3D ONLY)
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Dec 14, 2024 |