mymesh.converter.quadratic2linear#

mymesh.converter.quadratic2linear(NodeCoords, NodeConn, cleanup=True)[source]#

Convert quadratic (second-order) elements to linear (first-order) elements. See also Element Types.

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

  • NodeConn (array_like) – Nodal connectivity list.

  • cleanup (bool) – Remove nodes that are no longer in the mesh. Note that this will renumber the nodes and any external arrays that are assoviated with the nodes may no longer match.

Returns:

  • NewCoords (list) – Nodal coordinates of the second order mesh

  • NewConn (list) – Nodal connectivity list of the second order mesh