OpenFOAM logo
Open Source CFD Toolkit

tetPolyMeshCellDecomp Class Reference

Inheritance diagram for tetPolyMeshCellDecomp:

Inheritance graph
[legend]
Collaboration diagram for tetPolyMeshCellDecomp:

Collaboration graph
[legend]
List of all members.

Public Types

typedef tetPolyMeshCellDecomp Mesh
typedef tetPolyBoundaryMeshCellDecomp BoundaryMesh

Public Member Functions

 ClassName ("tetPolyMesh")
 tetPolyMeshCellDecomp (const polyMesh &pMesh)
 Construct from components.
 ~tetPolyMeshCellDecomp ()
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 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 lduAddressingldu () 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< pointFieldpoints () const
 Return points.
cellShapeList tetCells () const
 Return complete list of cell shapes. All are tetrahedra.
const tetPolyBoundaryMeshCellDecompboundary () 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 tetPolyMeshMapperCellDecomp &mapper)
 Update mesh topology using the morph engine.
bool operator!= (const tetPolyMeshCellDecomp &) const
bool operator== (const tetPolyMeshCellDecomp &) const

Member Typedef Documentation

typedef tetPolyBoundaryMeshCellDecomp BoundaryMesh
 

Definition at line 202 of file tetPolyMeshCellDecomp.H.

typedef tetPolyMeshCellDecomp Mesh
 

Definition at line 201 of file tetPolyMeshCellDecomp.H.


Constructor & Destructor Documentation

tetPolyMeshCellDecomp const polyMesh pMesh  )  [explicit]
 

Construct from components.

~tetPolyMeshCellDecomp  ) 
 


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 - 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

const tetPolyBoundaryMeshCellDecomp& boundary  )  const [inline]
 

Return reference to boundary mesh.

Definition at line 266 of file tetPolyMeshCellDecomp.H.

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

label cellOffset  )  const [inline]
 

Return cell offset.

Definition at line 251 of file tetPolyMeshCellDecomp.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.

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 233 of file tetPolyMeshCellDecomp.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 a cell.

bool operator!= const tetPolyMeshCellDecomp  )  const
 

const polyMesh& operator()  )  const [inline]
 

Return reference to polyMesh.

Definition at line 218 of file tetPolyMeshCellDecomp.H.

References Foam::label.

bool operator== const tetPolyMeshCellDecomp  )  const
 

const parallelInfo& parallelData  )  const [inline]
 

Return parallel info.

Definition at line 335 of file tetPolyMeshCellDecomp.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 tetPolyMeshMapperCellDecomp 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