gp.isgroup

Syntax

b = gp.isgroup(gp,s<,slot>)

Check if the group name s is associated with the zone gridpoint gp. By default, this checks if there is a match in any slot, but if the slot argument is specified, it will return a match only in that slot. 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. Use of the group logic is described in Group.

Returns:

b - true if a match was found, false otherwise

Arguments:

gp - a gridpoint pointer

s - the group name to check against

slot - an optional slot specification; if not given, the slot Default is assumed