from_node_list_to_elem_matrix

from_node_list_to_elem_matrix

Convert list of properties associated to nodes to matrix of properties associated to elements based on the connectivities

The ‘ith’ value of the ‘node_list’ array stores the property of the ‘ith’ node. The ‘jth’ ‘kth’ value of the ‘elem_matrix’ array stores the property of the ‘kth’ node within the ‘jth’ element

param node_list

Properties of the nodes

type node_list

np.array

param connectivities

Connectivities between the nodes to form elements

type connectivities

np.array

returns

Properties of the elements

rtype

elem_matrix (np.array)