mymesh.converter.edge32linear#

mymesh.converter.edge32linear(NodeCoords, NodeConn)[source]#

Converts a 3-node edge mesh to a 2-node edge mesh. Assumes a 3-node edge numbering scheme where the first and third nodes define the end points, the remaining nodes are thus neglected.

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

  • NodeConn (array_like) – Nodal connectivities for a 3-Node edge mesh

Returns:

  • NodeCoords (array_like) – List of nodal coordinates (unchanged from input).

  • NewConn (np.ndarray) – Nodal connectivities for the equivalent 2-Node edge mesh