mymesh.converter.linear2quadratic#
- mymesh.converter.linear2quadratic(NodeCoords, NodeConn, Type=None)[source]#
Convert linear (first-order) elements to quadratic (second-order) elements. See also Element Types.
- Parameters:
NodeCoords (array_like) – List of nodal coordinates.
NodeConn (array_like) – Nodal connectivity list.
Type (str) – Mesh Type (‘surf’ or ‘vol’). This helps resolve ambiguities between 4-node quadrilaterals and 4-node tetrahedra. If not provided, Type will be detected using
mymesh.utils.identify_type()
- Returns:
NewCoords (list) – Nodal coordinates of the second order mesh
NewConn (list) – Nodal connectivity list of the second order mesh