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.fem.sdynpy_visualization_reduction.derive_node_adjacency_from_elements

Signature

def sdynpy.fem.sdynpy_visualization_reduction.derive_node_adjacency_from_elements(node_ids, elem_conn)

Build a node adjacency graph from element connectivity.

Here, any two nodes appearing in the same element are marked adjacent. This is a coarse notion of adjacency, but it is easy to compute and works even for mixed element sizes.

Parameters

Returns