Classes | Public Member Functions | List of all members
tetOverlapVolume Class Reference

Calculates the overlap volume of two cells using tetrahedral decomposition. More...

Public Member Functions

 ClassName ("tetOverlapVolume")
 
 tetOverlapVolume ()
 
labelList overlappingCells (const polyMesh &meshA, const polyMesh &meshB, const label cellBI) const
 
bool cellCellOverlapMinDecomp (const primitiveMesh &meshA, const label cellAI, const primitiveMesh &meshB, const label cellBI, const treeBoundBox &cellBbB, const scalar threshold=0.0) const
 
scalar cellCellOverlapVolumeMinDecomp (const primitiveMesh &meshA, const label cellAI, const primitiveMesh &meshB, const label cellBI, const treeBoundBox &cellBbB) const
 
Tuple2< scalar, pointcellCellOverlapMomentMinDecomp (const primitiveMesh &meshA, const label cellAI, const primitiveMesh &meshB, const label cellBI, const treeBoundBox &cellBbB) const
 

Detailed Description

Calculates the overlap volume of two cells using tetrahedral decomposition.

Source files

Definition at line 52 of file tetOverlapVolume.H.

Constructor & Destructor Documentation

◆ tetOverlapVolume()

Definition at line 41 of file tetOverlapVolume.C.

Member Function Documentation

◆ ClassName()

ClassName ( "tetOverlapVolume"  )

◆ overlappingCells()

Foam::labelList overlappingCells ( const polyMesh meshA,
const polyMesh meshB,
const label  cellBI 
) const

Definition at line 140 of file tetOverlapVolume.C.

References primitiveMesh::cellPoints(), polyMesh::cellTree(), and polyMesh::points().

Here is the call graph for this function:

◆ cellCellOverlapMinDecomp()

bool cellCellOverlapMinDecomp ( const primitiveMesh meshA,
const label  cellAI,
const primitiveMesh meshB,
const label  cellBI,
const treeBoundBox cellBbB,
const scalar  threshold = 0.0 
) const

Definition at line 64 of file tetOverlapVolume.C.

◆ cellCellOverlapVolumeMinDecomp()

Foam::scalar cellCellOverlapVolumeMinDecomp ( const primitiveMesh meshA,
const label  cellAI,
const primitiveMesh meshB,
const label  cellBI,
const treeBoundBox cellBbB 
) const

Definition at line 89 of file tetOverlapVolume.C.

Referenced by meshToMeshMethod::interVol().

Here is the caller graph for this function:

◆ cellCellOverlapMomentMinDecomp()

Foam::Tuple2< Foam::scalar, Foam::point > cellCellOverlapMomentMinDecomp ( const primitiveMesh meshA,
const label  cellAI,
const primitiveMesh meshB,
const label  cellBI,
const treeBoundBox cellBbB 
) const

Definition at line 115 of file tetOverlapVolume.C.

Referenced by meshToMeshMethod::interVolAndCentroid().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: