Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

sdynpy.ElementArray

Signature

class sdynpy.ElementArray(shape, buffer=None, offset=0, strides=None, order=None)

Element information array

Use the element_array helper function to create the array.

Attributes

NameSummary
data_dtypeBuilt-in mutable sequence.

data_dtype

Methods

NameSummary
from_unvLoad ElementArrays from universal file data from read_unv
reduceKeep only elements that have all nodes contained in node_list
removeRemoves elements with id numbers in traceline_list

from_unv

def sdynpy.ElementArray.from_unv(unv_data_dict, combine=True)

Load ElementArrays from universal file data from read_unv

Parameters

Returns

reduce

def sdynpy.ElementArray.reduce(self, node_list)

Keep only elements that have all nodes contained in node_list

Parameters

Returns

remove

def sdynpy.ElementArray.remove(self, element_list)

Removes elements with id numbers in traceline_list

Parameters

Returns