Processor agglomeration of GAMGAgglomerations. More...
Public Member Functions | |
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... | |
GAMGProcAgglomeration (const GAMGProcAgglomeration &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~GAMGProcAgglomeration () |
Destructor. More... | |
virtual bool | agglomerate ()=0 |
Modify agglomeration. Return true if modified. More... | |
void | operator= (const GAMGProcAgglomeration &)=delete |
Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
static autoPtr< GAMGProcAgglomeration > | New (const word &type, GAMGAgglomeration &agglom, const dictionary &controlDict) |
Return the selected agglomerator. More... | |
Protected Member Functions | |
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 | |
static labelListList | globalCellCells (const lduMesh &) |
Debug: calculate global cell-cells. More... | |
Protected Attributes | |
GAMGAgglomeration & | agglom_ |
Reference to agglomeration. More... | |
Processor agglomeration of GAMGAgglomerations.
Definition at line 52 of file GAMGProcAgglomeration.H.
GAMGProcAgglomeration | ( | GAMGAgglomeration & | agglom, |
const dictionary & | controlDict | ||
) |
Construct given agglomerator and controls.
Definition at line 343 of file GAMGProcAgglomeration.C.
References GAMGProcAgglomeration::New().
Referenced by GAMGProcAgglomeration::agglomerate().
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 383 of file GAMGProcAgglomeration.C.
|
protected |
Debug: write agglomeration info.
Definition at line 42 of file GAMGProcAgglomeration.C.
References GAMGAgglomeration::agglomProcIDs_, Foam::endl(), GAMGAgglomeration::faceRestrictAddressing(), forAll, GAMGProcAgglomeration::globalCellCells(), GAMGAgglomeration::hasMeshLevel(), lduMesh::info(), Foam::max(), GAMGAgglomeration::meshLevel(), GAMGAgglomeration::nCells(), GAMGAgglomeration::nFaces(), Foam::nl, GAMGAgglomeration::patchFaceRestrictAddressing(), GAMGAgglomeration::procAgglomMap_, GAMGAgglomeration::procCellOffsets_, GAMGAgglomeration::procCommunicator_, GAMGAgglomeration::restrictAddressing(), GAMGAgglomeration::restrictAddressing_, List< T >::size(), and GAMGAgglomeration::size().
|
protected |
Agglomerate a level. Return true if anything has changed.
Definition at line 265 of file GAMGProcAgglomeration.C.
References lduMesh::comm(), GAMGProcAgglomeration::GAMGProcAgglomeration(), and UPstream::myProcNo().
|
staticprotected |
Debug: calculate global cell-cells.
Definition at line 119 of file GAMGProcAgglomeration.C.
References GAMGProcAgglomeration::agglomerate(), Foam::constant::physicoChemical::c1, lduMesh::comm(), forAll, lduMesh::interfaces(), lduMesh::lduAddr(), lduAddressing::lowerAddr(), UPstream::msgType(), UPstream::myProcNo(), UPstream::nonBlocking, UPstream::parRun(), UPtrList< T >::set(), UPtrList< T >::size(), lduAddressing::size(), Foam::stableSort(), lduAddressing::upperAddr(), and UPstream::waitRequests().
Referenced by GAMGProcAgglomeration::printStats().
TypeName | ( | "GAMGProcAgglomeration" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
GAMGProcAgglomeration | , | ||
GAMGAgglomeration | , | ||
(GAMGAgglomeration &agglom, const dictionary &controlDict) | , | ||
(agglom, controlDict) | |||
) |
Runtime selection table for pure geometric agglomerators.
|
static |
Return the selected agglomerator.
Definition at line 353 of file GAMGProcAgglomeration.C.
References controlDict(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, InfoInFunction, and Foam::nl.
Referenced by GAMGProcAgglomeration::GAMGProcAgglomeration().
|
pure virtual |
Modify agglomeration. Return true if modified.
Implemented in procFacesGAMGProcAgglomeration, manualGAMGProcAgglomeration, eagerGAMGProcAgglomeration, masterCoarsestGAMGProcAgglomeration, and noneGAMGProcAgglomeration.
Referenced by masterCoarsestGAMGProcAgglomeration::agglomerate(), eagerGAMGProcAgglomeration::agglomerate(), manualGAMGProcAgglomeration::agglomerate(), procFacesGAMGProcAgglomeration::agglomerate(), and GAMGProcAgglomeration::globalCellCells().
|
delete |
Disallow default bitwise assignment.
|
protected |
Reference to agglomeration.
Definition at line 60 of file GAMGProcAgglomeration.H.