![]() |
|
Public Types | |
typedef tetPolyMeshCellDecomp | Mesh |
typedef tetPolyBoundaryMeshCellDecomp | BoundaryMesh |
Public Member Functions | |
ClassName ("tetPolyMesh") | |
tetPolyMeshCellDecomp (const polyMesh &pMesh) | |
Construct from components. | |
~tetPolyMeshCellDecomp () | |
const polyMesh & | operator() () const |
Return reference to polyMesh. | |
label | nPoints () const |
Return number of points in decomposition. | |
label | nEdges () const |
Return number of edges in decomposition. | |
label | nTets () const |
Return number of tetrahedra in decomposition. | |
label | nCells () const |
Return number of cells in polyhedral mesh. | |
label | nTetsForCell (const label cellID) const |
Return number of tetrahedra in decomposition for a cell. | |
label | nEdgesForFace (const label faceID) const |
Return number of edges in decomposition for a face. | |
label | nEdgesForPoint (const label pointID) const |
Return number of edges in decomposition connected to a given point. | |
const lduAddressing & | ldu () const |
Return ldu addressing. | |
label | cellOffset () const |
Return cell offset. | |
labelList | edgesForPoint (const label pointID) const |
Return list of edge labels coming out of a point. | |
tmp< pointField > | points () const |
Return points. | |
cellShapeList | tetCells () const |
Return complete list of cell shapes. All are tetrahedra. | |
const tetPolyBoundaryMeshCellDecomp & | boundary () const |
Return reference to boundary mesh. | |
tetCellList | tets (const label cellID) const |
Return tetrahedral decomposition for cell. | |
label | maxNPointsForCell () const |
Return max number of tets in a cell. | |
label | addressing (const label cellID, labelList &localToGlobalBuffer, labelList &globalToLocalBuffer) const |
Fill buffer with tet decomposition addressing. | |
void | clearAddressing (const label cellID, const label nCellPoints, labelList &localToGlobalBuffer, labelList &globalToLocalBuffer) const |
Clear global to local addressing. | |
void | gradNiDotGradNj (const label cellID, Matrix< scalar > &denseMatrix, const labelList &globalToLocalBuffer) const |
Fill buffer with dot-products of shape functions. | |
void | gradNiGradNj (const label cellID, Matrix< tensor > &denseMatrix, const labelList &globalToLocalBuffer) const |
Fill buffer with tensor products of shape functions. | |
void | volIntegral (const label cellID, scalarField &buffer, const labelList &globalToLocalBuffer) const |
Fill buffer with the volume integral distributed into vertices. | |
const parallelInfo & | parallelData () const |
Return parallel info. | |
const labelList & | parallelPoints () const |
Shared parallel points. | |
const edgeList & | parallelEdges () const |
Shared parallel edges. | |
void | updateMesh (const tetPolyMeshMapperCellDecomp &mapper) |
Update mesh topology using the morph engine. | |
bool | operator!= (const tetPolyMeshCellDecomp &) const |
bool | operator== (const tetPolyMeshCellDecomp &) const |
|
Definition at line 202 of file tetPolyMeshCellDecomp.H. |
|
Definition at line 201 of file tetPolyMeshCellDecomp.H. |
|
Construct from components.
|
|
|
|
Fill buffer with tet decomposition addressing. Used for FEM matrix assembly. localToGlobalBuffer - size to accept max number of vertices per cell in the mesh globalToLocalBuffer - sized to total number of points in the mesh and initialised to -1 |
|
Return reference to boundary mesh.
Definition at line 266 of file tetPolyMeshCellDecomp.H. References Foam::label, Foam::labelList, and Foam::scalarField. |
|
Return cell offset.
Definition at line 251 of file tetPolyMeshCellDecomp.H. References Foam::cellShapeList. |
|
|
|
Clear global to local addressing.
|
|
Return list of edge labels coming out of a point.
|
|
Fill buffer with dot-products of shape functions. Used for FEM matrix assembly |
|
Fill buffer with tensor products of shape functions. Used for FEM matrix assembly |
|
Return ldu addressing.
|
|
Return max number of tets in a cell.
|
|
Return number of cells in polyhedral mesh.
Definition at line 233 of file tetPolyMeshCellDecomp.H. References Foam::label. |
|
Return number of edges in decomposition.
|
|
Return number of edges in decomposition for a face.
|
|
Return number of edges in decomposition connected to a given point.
|
|
Return number of points in decomposition.
|
|
Return number of tetrahedra in decomposition.
|
|
Return number of tetrahedra in decomposition for a cell.
|
|
|
|
Return reference to polyMesh.
Definition at line 218 of file tetPolyMeshCellDecomp.H. References Foam::label. |
|
|
|
Return parallel info.
Definition at line 335 of file tetPolyMeshCellDecomp.H. |
|
Shared parallel edges.
|
|
Shared parallel points.
|
|
Return points.
|
|
Return complete list of cell shapes. All are tetrahedra.
|
|
Return tetrahedral decomposition for cell.
|
|
Update mesh topology using the morph engine.
|
|
Fill buffer with the volume integral distributed into vertices.
|