70bool Foam::tetOverlapVolume::cellCellOverlapMinDecomp
77 const scalar threshold
80 hasOverlapOp overlapCheckOp(threshold);
81 cellCellOverlapMinDecomp<hasOverlapOp>
91 return overlapCheckOp.ok_;
105 sumOverlapOp overlapSumOp;
106 cellCellOverlapMinDecomp<sumOverlapOp>
116 return overlapSumOp.iop_.vol_;
131 sumOverlapMomentOp overlapSumOp;
132 cellCellOverlapMinDecomp<sumOverlapMomentOp>
142 return overlapSumOp.iop_.vol_;
157 return treeA.findBox(bbB);
A 2-tuple for storing two objects of dissimilar types. The container is similar in purpose to std::pa...
A face is a list of labels corresponding to mesh vertices.
Non-pointer based hierarchical recursive searching.
Mesh consisting of general polyhedral cells.
virtual const pointField & points() const
Return raw points.
const indexedOctree< treeDataCell > & cellTree() const
Return the cell search tree.
Cell-face mesh analysis engine.
const labelListList & cellPoints() const
Calculates the overlap volume of two cells using tetrahedral decomposition.
scalar cellCellOverlapVolumeMinDecomp(const primitiveMesh &meshA, const label cellAI, const primitiveMesh &meshB, const label cellBI, const treeBoundBox &cellBbB) const
Calculates the overlap volume.
labelList overlappingCells(const polyMesh &meshA, const polyMesh &meshB, const label cellBI) const
Return a list of cells in meshA which overlaps with cellBI in.
tetOverlapVolume()
Null constructor.
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.
Standard boundBox with extra functionality for use in octree.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.