TetMesh¶
- class pygamer.tetmesh.TetMesh¶
Python wrapper around a
gamer::TetMesh
.Methods
TetMesh.__init__
(self)Default constructor.
TetMesh.addVertex
(self, data)Add a vertex to the mesh without specifying the key.
Check consistency and assign Face orientations.
Clear orientation of all faces.
Compute orientations of the mesh.
TetMesh.extractSurface
(self)Extract the surface of the TetMesh.
TetMesh.getCell
(self, arg0)Get a simplex by key.
Get an iterator over
CellID
.TetMesh.getEdge
(self, arg0)Get a simplex by key.
Get an iterator over
EdgeID
.TetMesh.getFace
(self, arg0)Get a simplex by key.
Get an iterator over
FaceID
.TetMesh.getName
(*args, **kwargs)Overloaded function.
TetMesh.getRoot
(self)Get the global metadata.
TetMesh.getVertex
(self, arg0)Get a simplex by key.
Get an iterator over
VertexID
.TetMesh.init_orientation
(self)Initialize mesh orientations.
TetMesh.insertCell
(self, key, data)Insert a face into the mesh.
TetMesh.insertEdge
(self, key, data)Insert an edge into the mesh.
TetMesh.insertFace
(self, key, data)Insert a face into the mesh.
TetMesh.insertVertex
(self, key, data)Inserts a vertex and data based on key.
TetMesh.nearBoundary
(*args, **kwargs)Overloaded function.
TetMesh.onBoundary
(*args, **kwargs)Overloaded function.
TetMesh.removeCell
(*args, **kwargs)Overloaded function.
TetMesh.removeEdge
(*args, **kwargs)Overloaded function.
TetMesh.removeFace
(*args, **kwargs)Overloaded function.
TetMesh.removeVertex
(*args, **kwargs)Overloaded function.
Attributes
An convenience iterator over
CellID
.A convenience iterator over
EdgeID
.An convenience iterator over
FaceID
.Get the number of cells.
Get the number of edges.
Get the number of faces.
Get the number of vertices.
A convenience iterator over
VertexID
.