41#ifndef Foam_processorLODs_faceBox
42#define Foam_processorLODs_faceBox
95 const label maxObjectsPerLeaf,
96 const label nObjectsOfType,
97 const label nRefineIterMax = 100
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.
layoutTypes
The map layout (eg, of the constructMap).
Creates the parallel distribution map by describing the source and target objects using box shapes.
const faceList & srcFaces_
Reference to the source face list.
virtual treeBoundBox calcTgtBox(const label tgtObji) const
The local boundBox associated with given target object.
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.
virtual treeBoundBox calcSrcBox(const label srcObji) const
The local boundBox associated with given source object.
virtual ~faceBox()=default
Destructor.
TypeName("box")
Runtime type information.
const faceList & tgtFaces_
Reference to the target face list.
virtual autoPtr< mapDistribute > map(const mapDistributeBase::layoutTypes constructLayout)
Return the parallel distribution map (usually linear construct order).
Standard boundBox with extra functionality for use in octree.
List< face > faceList
List of faces.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.