itasca.sel.nodearray
Array interface for 3DEC nodes.
Functions
-
itasca.sel.nodearray.extra(slot: int) → array float{node} or float{node,3}. Get the node extra data in the given slot as an array. Extra variables accessed by array must be of type float or vec.
-
itasca.sel.nodearray.ids() → array int{node}. Get the node ids as an array.
-
itasca.sel.nodearray.in_group(group_name: str, slot="default") → array bool{nnode}. Return block group membership as a Boolean array.
-
itasca.sel.nodearray.set_extra(slot: int, data: array float{node} or float{node, 3}) → None. Set the node extra data in the given slot with an array. Extra variables set by array must be of type float or vec.
-
itasca.sel.nodearray.set_group(membership: array bool{nnode}, 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? ... | FLAC3D © 2019, Itasca | Updated: Feb 25, 2024 |