element_conn_nfaced#

Part.element_conn_nfaced(elem_type: int) List[array]#

For an N-Faced element type (regular or ghost), return the connectivity information for the elements of that type in this part at this timestep.

Three arrays are returned in a list:

  • num_faces_per_element : one number per element that represent the number of faces in that element

  • num_nodes_per_face : for each face, the number of nodes in the face.

  • face_nodes : the actual node indices

All arrays are packed sequentially. Walking the elements sequentially, if the number of faces for an element is 4, then there are 4 entries added to the num_nodes_per_face array for that element. Likewise, the nodes for each face are appended in order to the face_nodes array.

Parameters:
elem_type: int

NFACED or NFACED_GHOST.

Returns:
List[numpy.array]

Three numpy arrays: num_faces_per_element, num_nodes_per_face, face_nodes