itasca.sel.cablearray
Array interface for 3DEC cables.
Functions
-
itasca.sel.cablearray.
extra
(slot: int) → array float{cable} or float{cable,3}. Get the cable extra data in the given slot as an array. Extra variables accessed by array must be of type float or vec.
-
itasca.sel.cablearray.
force_axial
() → array float{cable}. Get a numpy array of the force axial in cable.
-
itasca.sel.cablearray.
ids
() → array int{cable}. Get the cable ids as an array.
-
itasca.sel.cablearray.
in_group
(group_name: str, slot="default") → array bool{ncable}. Return block group membership as a Boolean array.
-
itasca.sel.cablearray.
length
() → array float{cable}. Get a numpy array of the cable length.
-
itasca.sel.cablearray.
set_extra
(slot: int, data: array float{cable} or float{cable, 3}) → None. Set the cable extra data in the given slot with an array. Extra variables set by array must be of type float or vec.
-
itasca.sel.cablearray.
set_group
(membership: array bool{ncable}, 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.
-
itasca.sel.cablearray.
strain_axial
() → array float{cable}. Get a numpy array of the strain axial in cable.
-
itasca.sel.cablearray.
stress_axial
() → array float{cable}. Get a numpy array of the stress axial in cable.
Was this helpful? ... | 3DEC © 2019, Itasca | Updated: Feb 25, 2024 |