processorLOD Class Referenceabstract

Base class to generate a parallel distribution map for sending sufficient target objects to cover a description of the source object, based on processor Level Of Detail (LOD) shapes. More...

Inheritance diagram for processorLOD:

Public Member Functions

 TypeName ("processorLOD")
 Runtime type information. More...
 
 processorLOD (const label maxObjectsPerLeaf, const label nObjectsOfType) noexcept
 Construct from components. More...
 
virtual ~processorLOD ()=default
 Destructor. More...
 
virtual autoPtr< mapDistributemap (const mapDistributeBase::layoutTypes constructLayout=mapDistributeBase::layoutTypes::linear)=0
 Return the parallel distribution map (usually linear construct order) More...
 

Protected Attributes

label maxObjectsPerLeaf_
 Maximum number of objects per leaf. More...
 
label nObjectsOfType_
 Number of objects of this type. e.g. number of faces/cells on this processor. More...
 

Detailed Description

Base class to generate a parallel distribution map for sending sufficient target objects to cover a description of the source object, based on processor Level Of Detail (LOD) shapes.

Definition at line 48 of file processorLOD.H.

Constructor & Destructor Documentation

◆ processorLOD()

processorLOD ( const label  maxObjectsPerLeaf,
const label  nObjectsOfType 
)
noexcept

Construct from components.

Definition at line 31 of file processorLOD.C.

◆ ~processorLOD()

virtual ~processorLOD ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "processorLOD"  )

Runtime type information.

◆ map()

virtual autoPtr<mapDistribute> map ( const mapDistributeBase::layoutTypes  constructLayout = mapDistributeBase::layoutTypes::linear)
pure virtual

Return the parallel distribution map (usually linear construct order)

Implemented in cellBox, and faceBox.

Member Data Documentation

◆ maxObjectsPerLeaf_

label maxObjectsPerLeaf_
protected

Maximum number of objects per leaf.

Definition at line 57 of file processorLOD.H.

◆ nObjectsOfType_

label nObjectsOfType_
protected

Number of objects of this type. e.g. number of faces/cells on this processor.

Definition at line 63 of file processorLOD.H.


The documentation for this class was generated from the following files: