autopdex.mesher.elevate_mesh_order
- autopdex.mesher.elevate_mesh_order(coords, elements)[source]
Upgrades a mesh from order 1 to order 2.
- Supported cases:
2D triangles (3 nodes -> 6 nodes)
3D bricks (8 nodes -> 27 nodes)
- Parameters:
coords (array-like) – Array of node coordinates.
elements (array-like) – Element connectivity array.
- Returns:
The upgraded mesh.
- Return type:
new_coords, new_elements
- Raises:
NotImplementedError – If the element type is not supported.