itasca.flowknotarray
Array interface for 3DEC flowknot array.
Functions
- itasca.flowknotarray.extra(slot: int) array float{flowplane} or float{flowplane,3}.
Get the flowplane extra data in the given slot as an array. Extra variables accessed by array must be of type float or vec.
- itasca.flowknotarray.ids() array int{flowplane}.
Get the flowplane ids as an array.
- itasca.flowknotarray.in_group(group_name: str, slot='default') array bool{nflowknot}.
Return block group membership as a Boolean array.
- itasca.flowknotarray.set_extra(slot: int, data: array float{flowplane} or float{flowplane, 3}) None.
Set the flowplane extra data in the given slot with an array. Extra variables set by array must be of type float or vec.
- itasca.flowknotarray.set_group(membership: array bool{nflowknot}, group_name: str, slot="default") None.
Set block group from an array. Where membership True set the corresponding block to be a member of group group_name in the given slot.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Dec 14, 2024 |