mymesh.utils.getNodeNeighborhoodByRadius#

mymesh.utils.getNodeNeighborhoodByRadius(NodeCoords, NodeConn, Radius)[source]#

Gives the connected nodes in a neighborhood with a specified radius for each node in the mesh.

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

  • NodeConn (list) – Nodal connectivity list.

  • radius (float) – Radius of around each node.

Returns:

NodeNeighborhoods – List of neighboring nodes in an neighborhood around each node in NodeCoords with the neighborhoods specified by a radius.

Return type:

list