49 for (
const label facei :
srcCells_[srcObji])
65 for (
const label facei : tgtCells_[tgtObji])
67 bb.
add(tgtPoints_, tgtFaces_[facei]);
84 const label maxObjectsPerLeaf,
85 const label nObjectsOfType,
86 const label nRefineIterMax
112 return createMap(srcCells_.size(), tgtCells_.size(), constructLayout);
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
void add(const boundBox &bb)
Extend to include the second box.
layoutTypes
The map layout (eg, of the constructMap).
autoPtr< mapDistribute > createMap(const label nSrcElems, const label nTgtElems, const mapDistributeBase::layoutTypes constructLayout)
Return the parallel distribution map (often linear construct order).
const UList< point > & tgtPoints_
Reference to the target points.
const UList< point > & srcPoints_
Reference to the source points.
Creates the parallel distribution map by describing the source and target objects using box shapes.
cellBox(const cellList &srcCells, const faceList &srcFaces, const UList< point > &srcPoints, const cellList &tgtCells, const faceList &tgtFaces, const UList< point > &tgtPoints, const label maxObjectsPerLeaf, const label nObjectsOfType, const label nRefineIterMax=100)
Construct from list of points/faces/cells for source and target.
virtual treeBoundBox calcTgtBox(const label tgtObji) const
The local boundBox associated with given target object.
virtual treeBoundBox calcSrcBox(const label srcObji) const
The local boundBox associated with given source object.
const cellList & tgtCells_
Reference to the target cell list.
const cellList & srcCells_
Reference to the source cell list.
virtual autoPtr< mapDistribute > map(const mapDistributeBase::layoutTypes constructLayout)
Return the parallel distribution map (usually linear construct order).
Creates the parallel distribution map by describing the source and target objects using box shapes.
const faceList & srcFaces_
Reference to the source face list.
faceBox(const faceList &srcFaces, const UList< point > &srcPoints, const faceList &tgtFaces, const UList< point > &tgtPoints, const label maxObjectsPerLeaf, const label nObjectsOfType, const label nRefineIterMax=100)
Construct from list of points/faces for source and target.
const faceList & tgtFaces_
Reference to the target face list.
Standard boundBox with extra functionality for use in octree.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
List< face > faceList
List of faces.
List< cell > cellList
List of cell.