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