element_conn_nsided#

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

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

Two arrays are returned in a list:

  • num_nodes_per_element : one number per element that represent the number of nodes in that element

  • nodes : the actual node indices

Arrays are packed sequentially. Walking the elements sequentially, if the number of nodes for an element is 4, then there are 4 entries added to the nodes array for that element.

Parameters:
elem_type: int

NSIDED or NSIDED_GHOST.

Returns:
List[numpy.array]

Two numpy arrays: num_nodes_per_element, nodes