mymesh.utils.getNodeNeighborhood#

mymesh.utils.getNodeNeighborhood(NodeCoords, NodeConn, nRings)[source]#

Gives the connected nodes in an n ring neighborhood for each node in the mesh

Parameters:
  • NodeCoords (list) – List of nodal coordinates.

  • NodeConn (list) – Nodal connectivity list.

  • nRings (int) – Number of rings to include.

Returns:

NodeNeighborhoods – List of neighboring nodes in an n ring neighborhood around each node in NodeCoords.

Return type:

list