Loading...
Searching...
No Matches
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...

#include <processorLOD.H>

Inheritance diagram for processorLOD:

Public Member Functions

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

Protected Attributes

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

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 30 of file processorLOD.C.

References maxObjectsPerLeaf_, nObjectsOfType_, and Foam::noexcept.

Referenced by box::box().

Here is the caller graph for this function:

◆ ~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.

References mapDistributeBase::linear.

Member Data Documentation

◆ maxObjectsPerLeaf_

label maxObjectsPerLeaf_
protected

Maximum number of objects per leaf.

Definition at line 57 of file processorLOD.H.

Referenced by processorLOD(), and box::setRefineFlags().

◆ 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.

Referenced by processorLOD(), and box::setRefineFlags().


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