pyxfem.core.mesh_modifications module
module for some basic mesh modification of SMESH
- class pyxfem.core.mesh_modifications.MeshHierarchicModification(xy, tris)[source]
Bases:
objectA class to store and do basic numbering for hierarchic modification; currently used by levelsetmeshcut
- pyxfem.core.mesh_modifications.duplicate_edges(mesh: SMesh, array_edges_id)[source]
duplicate the edges in array_edges in the mesh and modify connectivity in the mesh accordingly return the modifyed mesh and an array dupedge containing the id of the new edges so that dupedge[i] is the id of the reversed edge array_edges_id[i]