Manual processor agglomeration of GAMGAgglomerations. More...
#include <manualGAMGProcAgglomeration.H>


Public Member Functions | |
| TypeName ("manual") | |
| Runtime type information. | |
| manualGAMGProcAgglomeration (const manualGAMGProcAgglomeration &)=delete | |
| No copy construct. | |
| void | operator= (const manualGAMGProcAgglomeration &)=delete |
| No copy assignment. | |
| manualGAMGProcAgglomeration (GAMGAgglomeration &agglom, const dictionary &controlDict) | |
| Construct given agglomerator and controls. | |
| virtual | ~manualGAMGProcAgglomeration () |
| 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. | |
Manual processor agglomeration of GAMGAgglomerations.
In the GAMG control dictionary:
processorAgglomerator manual; List of level+procagglomeration where procagglomeration is a set of labelLists. Each labelList is a cluster of processor which gets combined onto the first element in the list. processorAgglomeration ( ( 3 //at level 3 ( (0 1) //coarse 0 from 0,1 (and moved onto 0) (3 2) //coarse 1 from 2,3 (and moved onto 3) ) ) ( 6 //at level6 ( (0 1) //coarse 0 from 0,1 (and moved onto 0) ) ) );
Definition at line 72 of file manualGAMGProcAgglomeration.H.
|
delete |
No copy construct.
References manualGAMGProcAgglomeration().
Referenced by manualGAMGProcAgglomeration(), and operator=().


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

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

|
virtual |
Modify agglomeration. Return true if modified.
Implements GAMGProcAgglomeration.
Definition at line 62 of file manualGAMGProcAgglomeration.C.
References GAMGProcAgglomeration::agglom_, GAMGProcAgglomeration::agglomerate(), lduMesh::comm(), GAMGProcAgglomeration::comms_, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, UList< T >::find(), forAll, UList< T >::found(), UPstream::myProcNo(), UPstream::newCommunicator(), Foam::nl, UPstream::nProcs(), Foam::Pout, GAMGProcAgglomeration::printStats(), UList< T >::size(), and WarningInFunction.
