cellcomplex.property_topomesh.topomesh module¶
This module provide a simple pure python implementation for a topomesh interface
-
exception
cellcomplex.property_topomesh.topomesh.StrInvalidDegree(degree)[source]¶ Bases:
cellcomplex.property_topomesh.interface.topomesh.InvalidDegreeexception raised when a wrong degree is provided
-
exception
cellcomplex.property_topomesh.topomesh.StrInvalidWisp(degree, wid)[source]¶ Bases:
cellcomplex.property_topomesh.interface.topomesh.InvalidWispexception raised when a wrong wisp id is provided
-
class
cellcomplex.property_topomesh.topomesh.Topomesh(degree, idgenerator='set')[source]¶ Bases:
cellcomplex.property_topomesh.interface.topomesh.ITopomesh,cellcomplex.property_topomesh.interface.topomesh.IWispListMesh,cellcomplex.property_topomesh.interface.topomesh.INeighborhoodMesh,cellcomplex.property_topomesh.interface.topomesh.IMutableMeshimplementation of a topological mesh
-
add_wisp(degree, wid=None)[source]¶ add a new wisp connected to nothing if wid is None, create a free id return used wid
-
border_neighbors(degree, wid)[source]¶ iterator on all wisps at the same degree that share a border with this wisp
-
link(degree, wid, border_id)[source]¶ link a wisp of degree degree with id wid with another wisp of degree degree-1 with id border_id
-