fedoo.mesh.change_elm_type

change_elm_type(mesh, elm_type, name='')

Attempt to change the type of element of a mesh.

Work only if the two elements are compatible. This function may change the order of the nodes and elements.

Parameters:
  • mesh (fedoo.Mesh) – The mesh to modify

  • elm_type (str) – New element type

  • name (str, optional) – name of the new mesh.

Return type:

fedoo.Mesh

Notes

This function is costly and not optimized. It should be avoided for high dimension meshes.