gp.isgroup
Syntax
- b := gp.isgroup(gp,s<,slot>)
Note
- In the description below, the following correspondence is assumed between 3D and 2D analysis:
3D zone faces (surfaces) <-> 2D zone edges (lines)
Check if the group s is associated with the zone gridpoint and return true if a match is found in any slot. The check for s will only occur in slot, if provided. Note that this function will return a match if any zone or zone face connected to the gridpoint contains that group name, as well as the gridpoint itself.
A group index or slot index may be used for the arguments s or slot, respectively. Indices operate more efficiently than strings*.
- Returns:
- Arguments:
gp - zone gridpoint pointer
s - the group name or index*
slot - the slot name or index*; the check occurs on all slots assigned to the zone if omitted
Note
*Use the
group.find
andgroup.find.slot
intrinsics to obtain group and slot indices, respectively, and for further information.Use of the group logic is described in Groups.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Aug 13, 2024 |