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.

TetMesh.check_orientation(self)

Check consistency and assign Face orientations.

TetMesh.clear_orientation(self)

Clear orientation of all faces.

TetMesh.compute_orientation(self)

Compute orientations of the mesh.

TetMesh.extractSurface(self)

Extract the surface of the TetMesh.

TetMesh.getCell(self, arg0)

Get a simplex by key.

TetMesh.getCellIDIterator(self)

Get an iterator over CellID.

TetMesh.getEdge(self, arg0)

Get a simplex by key.

TetMesh.getEdgeIDIterator(self)

Get an iterator over EdgeID.

TetMesh.getFace(self, arg0)

Get a simplex by key.

TetMesh.getFaceIDIterator(self)

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.

TetMesh.getVertexIDIterator(self)

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

TetMesh.cellIDs

An convenience iterator over CellID.

TetMesh.edgeIDs

A convenience iterator over EdgeID.

TetMesh.faceIDs

An convenience iterator over FaceID.

TetMesh.nCells

Get the number of cells.

TetMesh.nEdges

Get the number of edges.

TetMesh.nFaces

Get the number of faces.

TetMesh.nVertices

Get the number of vertices.

TetMesh.vertexIDs

A convenience iterator over VertexID.