Processor agglomeration of GAMGAgglomerations. Needs nAgglomeratingCells which is when to start agglomerating processors. Processors get agglomerated by constructing a single cell mesh for each processor with each processor interface a face. This then gets agglomerated using the pairGAMGAgglomeration algorithm with the number of faces on the original processor interface as face weight. More...
#include <procFacesGAMGProcAgglomeration.H>


Public Member Functions | |
| TypeName ("procFaces") | |
| Runtime type information. | |
| procFacesGAMGProcAgglomeration (const procFacesGAMGProcAgglomeration &)=delete | |
| No copy construct. | |
| void | operator= (const procFacesGAMGProcAgglomeration &)=delete |
| No copy assignment. | |
| procFacesGAMGProcAgglomeration (GAMGAgglomeration &agglom, const dictionary &controlDict) | |
| Construct given agglomerator and controls. | |
| virtual | ~procFacesGAMGProcAgglomeration () |
| Destructor. | |
| virtual bool | agglomerate () |
| Modify agglomeration. Return true if modified. | |
| Public Member Functions inherited from GAMGProcAgglomeration | |
| TypeName ("GAMGProcAgglomeration") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, GAMGProcAgglomeration, GAMGAgglomeration,(GAMGAgglomeration &agglom, const dictionary &controlDict),(agglom, controlDict)) | |
| Runtime selection table for pure geometric agglomerators. | |
| GAMGProcAgglomeration (const GAMGProcAgglomeration &)=delete | |
| No copy construct. | |
| void | operator= (const GAMGProcAgglomeration &)=delete |
| No copy assignment. | |
| GAMGProcAgglomeration (GAMGAgglomeration &agglom, const dictionary &controlDict) | |
| Construct given agglomerator and controls. | |
| virtual | ~GAMGProcAgglomeration () |
| Destructor. Clears allocated communicators. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from GAMGProcAgglomeration | |
| static autoPtr< GAMGProcAgglomeration > | New (const word &type, GAMGAgglomeration &agglom, const dictionary &controlDict) |
| Return the selected agglomerator. | |
| Protected Member Functions inherited from GAMGProcAgglomeration | |
| void | printStats (Ostream &os, GAMGAgglomeration &agglom) const |
| Debug: write agglomeration info. | |
| 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. | |
| void | clearCommunicators () |
| Clear/free allocated communicators. | |
| Static Protected Member Functions inherited from GAMGProcAgglomeration | |
| static labelListList | globalCellCells (const lduMesh &) |
| Debug: calculate global cell-cells. | |
| Protected Attributes inherited from GAMGProcAgglomeration | |
| GAMGAgglomeration & | agglom_ |
| Reference to agglomeration. | |
| DynamicList< label > | comms_ |
| Allocated communicators. | |
Processor agglomeration of GAMGAgglomerations. Needs nAgglomeratingCells which is when to start agglomerating processors. Processors get agglomerated by constructing a single cell mesh for each processor with each processor interface a face. This then gets agglomerated using the pairGAMGAgglomeration algorithm with the number of faces on the original processor interface as face weight.
Definition at line 53 of file procFacesGAMGProcAgglomeration.H.
|
delete |
No copy construct.
References procFacesGAMGProcAgglomeration().
Referenced by operator=(), and procFacesGAMGProcAgglomeration().


| procFacesGAMGProcAgglomeration | ( | GAMGAgglomeration & | agglom, |
| const dictionary & | controlDict ) |
Construct given agglomerator and controls.
Definition at line 212 of file procFacesGAMGProcAgglomeration.C.
References controlDict(), and GAMGProcAgglomeration::GAMGProcAgglomeration().

|
virtual |
Destructor.
Definition at line 225 of file procFacesGAMGProcAgglomeration.C.
| TypeName | ( | "procFaces" | ) |
Runtime type information.
|
delete |
No copy assignment.
References controlDict(), and procFacesGAMGProcAgglomeration().

|
virtual |
Modify agglomeration. Return true if modified.
Implements GAMGProcAgglomeration.
Definition at line 231 of file procFacesGAMGProcAgglomeration.C.
References GAMGProcAgglomeration::agglom_, GAMGProcAgglomeration::agglomerate(), GAMGAgglomeration::calculateRegionMaster(), lduMesh::comm(), GAMGProcAgglomeration::comms_, Foam::endl(), UPstream::newCommunicator(), Foam::nl, UPstream::nProcs(), Foam::Pout, GAMGProcAgglomeration::printStats(), and rndGen.
