struct.connectivity

Syntax

index = struct.connectivity(p,id)

Get the index of the node with component-ID id in the element. Will return 0 if no node in that element matches.

Returns:index - the index of the node
Arguments:p - a pointer to a structural element