masterCoarsestGAMGProcAgglomeration Class Reference

Processor agglomeration of GAMGAgglomerations. More...

Inheritance diagram for masterCoarsestGAMGProcAgglomeration:
[legend]
Collaboration diagram for masterCoarsestGAMGProcAgglomeration:
[legend]

Public Member Functions

 TypeName ("masterCoarsest")
 Runtime type information. More...
 
 masterCoarsestGAMGProcAgglomeration (GAMGAgglomeration &agglom, const dictionary &controlDict)
 Construct given agglomerator and controls. More...
 
virtual ~masterCoarsestGAMGProcAgglomeration ()
 Destructor. More...
 
virtual bool agglomerate ()
 Modify agglomeration. Return true if modified. More...
 
- Public Member Functions inherited from GAMGProcAgglomeration
 TypeName ("GAMGProcAgglomeration")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, GAMGProcAgglomeration, GAMGAgglomeration,(GAMGAgglomeration &agglom, const dictionary &controlDict),(agglom, controlDict))
 Runtime selection table for pure geometric agglomerators. More...
 
 GAMGProcAgglomeration (GAMGAgglomeration &agglom, const dictionary &controlDict)
 Construct given agglomerator and controls. More...
 
virtual ~GAMGProcAgglomeration ()
 Destructor. More...
 
virtual bool agglomerate ()=0
 Modify agglomeration. Return true if modified. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from GAMGProcAgglomeration
static autoPtr< GAMGProcAgglomerationNew (const word &type, GAMGAgglomeration &agglom, const dictionary &controlDict)
 Return the selected agglomerator. More...
 
- Protected Member Functions inherited from GAMGProcAgglomeration
void printStats (Ostream &os, GAMGAgglomeration &agglom) const
 Debug: write agglomeration info. More...
 
bool agglomerate (const label fineLevelIndex, const labelList &procAgglomMap, const labelList &masterProcs, const List< label > &agglomProcIDs, const label procAgglomComm)
 Agglomerate a level. Return true if anything has changed. More...
 
- Static Protected Member Functions inherited from GAMGProcAgglomeration
static labelListList globalCellCells (const lduMesh &)
 Debug: calculate global cell-cells. More...
 
- Protected Attributes inherited from GAMGProcAgglomeration
GAMGAgglomerationagglom_
 Reference to agglomeration. More...
 

Detailed Description

Processor agglomeration of GAMGAgglomerations.

Source files

Definition at line 53 of file masterCoarsestGAMGProcAgglomeration.H.

Constructor & Destructor Documentation

◆ masterCoarsestGAMGProcAgglomeration()

masterCoarsestGAMGProcAgglomeration ( GAMGAgglomeration agglom,
const dictionary controlDict 
)

Construct given agglomerator and controls.

Definition at line 49 of file masterCoarsestGAMGProcAgglomeration.C.

◆ ~masterCoarsestGAMGProcAgglomeration()

Destructor.

Definition at line 61 of file masterCoarsestGAMGProcAgglomeration.C.

References forAllReverse, and UPstream::freeCommunicator().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "masterCoarsest"  )

Runtime type information.

◆ agglomerate()

bool agglomerate ( )
virtual

Modify agglomeration. Return true if modified.

Implements GAMGProcAgglomeration.

Definition at line 76 of file masterCoarsestGAMGProcAgglomeration.C.

References GAMGProcAgglomeration::agglomerate(), UPstream::allocateCommunicator(), GAMGAgglomeration::calculateRegionMaster(), lduMesh::comm(), Foam::endl(), UList< T >::last(), processorFaPatch::myProcNo(), Foam::nl, PstreamBuffers::nProcs(), Foam::Pout, and Foam::Zero.

Here is the call graph for this function:

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