gp.group

Syntax

s := gp.group(gp<,slot>)
gp.group(gp<,slot>) := s

Get/set the group name assigned to zone gridpoint gp in slot slot. Use of the group logic is described in Groups.

A group pointer and a slot index may be provided instead of a string. This is more efficient, which may be significant if this call is being made a large number of times. See the group.find and group.find.slot functions.

Returns:

s - the name of the group in slot slot. Will return None if no group has been assigned in that slot.

Accepts:

s - the name of the group in slot slot

Arguments:

gp - a pointer to a zone gridpoint

slot - the optional name of the slot used. If not given, the slot name Default will be used.