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 342 of file GAMGProcAgglomeration.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 383 of file GAMGProcAgglomeration.C.
|
protected |
Debug: write agglomeration info.
Definition at line 41 of file GAMGProcAgglomeration.C.
References GAMGAgglomeration::agglomProcIndices_, Foam::endl(), GAMGAgglomeration::faceRestrictAddressing(), forAll, 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_, GAMGAgglomeration::size(), and List< T >::size().

|
protected |
Agglomerate a level. Return true if anything has changed.
Definition at line 264 of file GAMGProcAgglomeration.C.
References lduMesh::comm(), and UPstream::myProcNo().

|
staticprotected |
Debug: calculate global cell-cells.
Definition at line 118 of file GAMGProcAgglomeration.C.
References Foam::constant::physicoChemical::c1, fvMesh::comm(), forAll, fvMesh::interfaces(), fvMesh::lduAddr(), lduAddressing::lowerAddr(), mesh, UPstream::msgType(), UPstream::myProcNo(), UPstream::nonBlocking, UPstream::parRun(), PtrList< T >::set(), UPtrList< T >::set(), List< T >::setSize(), UPtrList< T >::size(), lduAddressing::size(), Foam::stableSort(), globalIndex::toGlobal(), lduAddressing::upperAddr(), and UPstream::waitRequests().

| 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 352 of file GAMGProcAgglomeration.C.
References controlDict(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, InfoInFunction, Foam::nl, DemandDrivenMeshObject< Mesh, MeshObjectType, Type >::type(), and Foam::type().

|
pure virtual |
Modify agglomeration. Return true if modified.
Implemented in procFacesGAMGProcAgglomeration, noneGAMGProcAgglomeration, masterCoarsestGAMGProcAgglomeration, manualGAMGProcAgglomeration, and eagerGAMGProcAgglomeration.
Referenced by eagerGAMGProcAgglomeration::agglomerate(), manualGAMGProcAgglomeration::agglomerate(), masterCoarsestGAMGProcAgglomeration::agglomerate(), and procFacesGAMGProcAgglomeration::agglomerate().

|
delete |
Disallow default bitwise assignment.
|
protected |
Reference to agglomeration.
Definition at line 60 of file GAMGProcAgglomeration.H.