Calculates the overlap volume of two cells using tetrahedral decomposition. More...
Public Member Functions | |
| ClassName ("tetOverlapVolume") | |
| Runtime type information. More... | |
| tetOverlapVolume () | |
| Null constructor. More... | |
| labelList | overlappingCells (const polyMesh &meshA, const polyMesh &meshB, const label cellBI) const |
| Return a list of cells in meshA which overlaps with cellBI in. More... | |
| bool | cellCellOverlapMinDecomp (const primitiveMesh &meshA, const label cellAI, const primitiveMesh &meshB, const label cellBI, const treeBoundBox &cellBbB, const scalar threshold=0.0) const |
| Return true if overlap volume is greater than threshold. More... | |
| scalar | cellCellOverlapVolumeMinDecomp (const primitiveMesh &meshA, const label cellAI, const primitiveMesh &meshB, const label cellBI, const treeBoundBox &cellBbB) const |
| Calculates the overlap volume. More... | |
| Tuple2< scalar, point > | cellCellOverlapMomentMinDecomp (const primitiveMesh &meshA, const label cellAI, const primitiveMesh &meshB, const label cellBI, const treeBoundBox &cellBbB) const |
| Calculates the overlap volume and moment. More... | |
Calculates the overlap volume of two cells using tetrahedral decomposition.
Definition at line 56 of file tetOverlapVolume.H.
| tetOverlapVolume | ( | ) |
Null constructor.
Definition at line 48 of file tetOverlapVolume.C.
| ClassName | ( | "tetOverlapVolume" | ) |
Runtime type information.
| Foam::labelList overlappingCells | ( | const polyMesh & | meshA, |
| const polyMesh & | meshB, | ||
| const label | cellBI | ||
| ) | const |
Return a list of cells in meshA which overlaps with cellBI in.
meshB
Definition at line 147 of file tetOverlapVolume.C.
References primitiveMesh::cellPoints(), polyMesh::cellTree(), and polyMesh::points().
| bool cellCellOverlapMinDecomp | ( | const primitiveMesh & | meshA, |
| const label | cellAI, | ||
| const primitiveMesh & | meshB, | ||
| const label | cellBI, | ||
| const treeBoundBox & | cellBbB, | ||
| const scalar | threshold = 0.0 |
||
| ) | const |
Return true if overlap volume is greater than threshold.
Definition at line 71 of file tetOverlapVolume.C.
| Foam::scalar cellCellOverlapVolumeMinDecomp | ( | const primitiveMesh & | meshA, |
| const label | cellAI, | ||
| const primitiveMesh & | meshB, | ||
| const label | cellBI, | ||
| const treeBoundBox & | cellBbB | ||
| ) | const |
Calculates the overlap volume.
Definition at line 96 of file tetOverlapVolume.C.
Referenced by meshToMeshMethod::interVol().
| Foam::Tuple2< Foam::scalar, Foam::point > cellCellOverlapMomentMinDecomp | ( | const primitiveMesh & | meshA, |
| const label | cellAI, | ||
| const primitiveMesh & | meshB, | ||
| const label | cellBI, | ||
| const treeBoundBox & | cellBbB | ||
| ) | const |
Calculates the overlap volume and moment.
Definition at line 122 of file tetOverlapVolume.C.
Referenced by meshToMeshMethod::interVolAndCentroid().