OpenFOAM logo
Open Source CFD Toolkit

tetPolyMeshFaceDecomp Class Reference

Inheritance diagram for tetPolyMeshFaceDecomp:

Inheritance graph
[legend]
Collaboration diagram for tetPolyMeshFaceDecomp:

Collaboration graph
[legend]
List of all members.

Public Types

typedef tetPolyMeshFaceDecomp Mesh
typedef tetPolyBoundaryMeshFaceDecomp BoundaryMesh

Public Member Functions

 ClassName ("tetPolyMesh")
 tetPolyMeshFaceDecomp (const polyMesh &pMesh)
 Construct from components.
 ~tetPolyMeshFaceDecomp ()
const polyMeshoperator() () 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 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.
const lduAddressingldu () const
 Return ldu addressing.
label faceOffset () const
 Return face offset.
label cellOffset () const
 Return cell offset.
labelList edgesForPoint (const label pointID) const
 Return list of edge labels coming out of a point.
tmp< pointFieldpoints () const
 Return points.
cellShapeList tetCells () const
 Return complete list of cell shapes. All are tetrahedra.
const tetPolyBoundaryMeshFaceDecompboundary () 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 parallelInfoparallelData () const
 Return parallel info.
const labelListparallelPoints () const
 Shared parallel points.
const edgeListparallelEdges () const
 Shared parallel edges.
void updateMesh (const tetPolyMeshMapperFaceDecomp &mapper)
 Update mesh topology using the morph engine.
bool operator!= (const tetPolyMeshFaceDecomp &) const
bool operator== (const tetPolyMeshFaceDecomp &) const

Member Typedef Documentation

typedef tetPolyBoundaryMeshFaceDecomp BoundaryMesh
 

Definition at line 205 of file tetPolyMeshFaceDecomp.H.

typedef tetPolyMeshFaceDecomp Mesh
 

Definition at line 204 of file tetPolyMeshFaceDecomp.H.


Constructor & Destructor Documentation

tetPolyMeshFaceDecomp const polyMesh pMesh  )  [explicit]
 

Construct from components.

~tetPolyMeshFaceDecomp  ) 
 


Member Function Documentation

label addressing const label  cellID,
labelList localToGlobalBuffer,
labelList globalToLocalBuffer
const
 

Fill buffer with tet decomposition addressing.

Used for FEM matrix assembly. localToGlobalBuffer - sized to max number of vertices per cell in the mesh globalToLocalBuffer - sized to total number of points in the mesh and initialised to -1

const tetPolyBoundaryMeshFaceDecomp& boundary  )  const [inline]
 

Return reference to boundary mesh.

Definition at line 280 of file tetPolyMeshFaceDecomp.H.

References Foam::label, Foam::labelList, and Foam::scalarField.

label cellOffset  )  const [inline]
 

Return cell offset.

Definition at line 265 of file tetPolyMeshFaceDecomp.H.

References Foam::cellShapeList.

ClassName "tetPolyMesh"   ) 
 

void clearAddressing const label  cellID,
const label  nCellPoints,
labelList localToGlobalBuffer,
labelList globalToLocalBuffer
const
 

Clear global to local addressing.

labelList edgesForPoint const label  pointID  )  const
 

Return list of edge labels coming out of a point.

label faceOffset  )  const [inline]
 

Return face offset.

Definition at line 259 of file tetPolyMeshFaceDecomp.H.

void gradNiDotGradNj const label  cellID,
Matrix< scalar > &  denseMatrix,
const labelList globalToLocalBuffer
const
 

Fill buffer with dot-products of shape functions.

Used for FEM matrix assembly

void gradNiGradNj const label  cellID,
Matrix< tensor > &  denseMatrix,
const labelList globalToLocalBuffer
const
 

Fill buffer with tensor products of shape functions.

Used for FEM matrix assembly

const lduAddressing& ldu  )  const
 

Return ldu addressing.

label maxNPointsForCell  )  const
 

Return max number of tets in a cell.

label nCells  )  const [inline]
 

Return number of cells in polyhedral mesh.

Definition at line 238 of file tetPolyMeshFaceDecomp.H.

References Foam::label.

label nEdges  )  const
 

Return number of edges in decomposition.

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

label nPoints  )  const
 

Return number of points in decomposition.

label nTets  )  const
 

Return number of tetrahedra in decomposition.

label nTetsForCell const label  cellID  )  const
 

Return number of tetrahedra in decomposition for cell.

bool operator!= const tetPolyMeshFaceDecomp  )  const
 

const polyMesh& operator()  )  const [inline]
 

Return reference to polyMesh.

Definition at line 223 of file tetPolyMeshFaceDecomp.H.

References Foam::label.

bool operator== const tetPolyMeshFaceDecomp  )  const
 

const parallelInfo& parallelData  )  const [inline]
 

Return parallel info.

Definition at line 349 of file tetPolyMeshFaceDecomp.H.

const edgeList& parallelEdges  )  const
 

Shared parallel edges.

const labelList& parallelPoints  )  const
 

Shared parallel points.

tmp<pointField> points  )  const
 

Return points.

cellShapeList tetCells  )  const
 

Return complete list of cell shapes. All are tetrahedra.

tetCellList tets const label  cellID  )  const
 

Return tetrahedral decomposition for cell.

void updateMesh const tetPolyMeshMapperFaceDecomp mapper  ) 
 

Update mesh topology using the morph engine.

void volIntegral const label  cellID,
scalarField buffer,
const labelList globalToLocalBuffer
const
 

Fill buffer with the volume integral distributed into vertices.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org