41 #ifndef Foam_processorLODs_cellBox 42 #define Foam_processorLODs_cellBox 51 namespace processorLODs
99 const label maxObjectsPerLeaf,
100 const label nObjectsOfType,
101 const label nRefineIterMax = 100
const cellList & tgtCells_
Reference to the target cell list.
TypeName("box")
Runtime type information.
const cellList & srcCells_
Reference to the source cell list.
Creates the parallel distribution map by describing the source and target objects using box shapes...
layoutTypes
The map layout (eg, of the constructMap)
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 ~cellBox()=default
Destructor.
virtual autoPtr< mapDistribute > map(const mapDistributeBase::layoutTypes constructLayout)
Return the parallel distribution map (usually linear construct order)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Creates the parallel distribution map by describing the source and target objects using box shapes...
Standard boundBox with extra functionality for use in octree.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
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.