35 #ifndef tetOverlapVolume_H
36 #define tetOverlapVolume_H
58 scalar tetTetOverlapVol
78 template<
unsigned Size>
81 public FixedList<FixedList<point, 4>, Size>
112 this->operator[](n_) = t;
156 const scalar threshold = 0.0
A 1D vector of objects of type <T> with a fixed size <Size>.
A face is a list of labels corresponding to mesh vertices.
Mesh consisting of general polyhedral cells.
Cell-face mesh analysis engine.
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.
ClassName("tetOverlapVolume")
Runtime type information.
scalar cellVolumeMinDecomp(const primitiveMesh &mesh, const label celli) const
Calculates the cell 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.
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 olverlap volume is greater than threshold.
tetOverlapVolume()
Null constructor.
Standard boundBox + extra functionality for use in octree.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.