Processor agglomeration of GAMGAgglomerations. More...
Public Member Functions | |
TypeName ("GAMGProcAgglomeration") | |
declareRunTimeSelectionTable (autoPtr, GAMGProcAgglomeration, GAMGAgglomeration,(GAMGAgglomeration &agglom, const dictionary &controlDict),(agglom, controlDict)) | |
GAMGProcAgglomeration (GAMGAgglomeration &agglom, const dictionary &controlDict) | |
virtual | ~GAMGProcAgglomeration () |
virtual bool | agglomerate ()=0 |
Static Public Member Functions | |
static autoPtr< GAMGProcAgglomeration > | New (const word &type, GAMGAgglomeration &agglom, const dictionary &controlDict) |
Protected Member Functions | |
void | printStats (Ostream &os, GAMGAgglomeration &agglom) const |
bool | agglomerate (const label fineLevelIndex, const labelList &procAgglomMap, const labelList &masterProcs, const List< label > &agglomProcIDs, const label procAgglomComm) |
Static Protected Member Functions | |
static labelListList | globalCellCells (const lduMesh &) |
Protected Attributes | |
GAMGAgglomeration & | agglom_ |
Processor agglomeration of GAMGAgglomerations.
Definition at line 50 of file GAMGProcAgglomeration.H.
GAMGProcAgglomeration | ( | GAMGAgglomeration & | agglom, |
const dictionary & | controlDict | ||
) |
Definition at line 343 of file GAMGProcAgglomeration.C.
|
virtual |
Definition at line 379 of file GAMGProcAgglomeration.C.
|
protected |
Definition at line 38 of file GAMGProcAgglomeration.C.
References GAMGAgglomeration::agglomProcIDs_, Foam::endl(), GAMGAgglomeration::faceRestrictAddressing(), forAll, GAMGAgglomeration::hasMeshLevel(), lduMesh::info(), Foam::max(), GAMGAgglomeration::meshLevel(), GAMGAgglomeration::nCells(), GAMGAgglomeration::nFaces(), Foam::nl, os(), GAMGAgglomeration::patchFaceRestrictAddressing(), GAMGAgglomeration::procAgglomMap_, GAMGAgglomeration::procCellOffsets_, GAMGAgglomeration::procCommunicator_, GAMGAgglomeration::restrictAddressing(), GAMGAgglomeration::restrictAddressing_, and GAMGAgglomeration::size().
|
protected |
Definition at line 265 of file GAMGProcAgglomeration.C.
References lduMesh::comm().
|
staticprotected |
Definition at line 115 of file GAMGProcAgglomeration.C.
References Foam::constant::physicoChemical::c1, forAll, Foam::identity(), globalIndex::localSize(), globalIndex::localStart(), lduAddressing::lowerAddr(), mesh, PtrList::set(), UPtrList::set(), List::setSize(), UPtrList::size(), lduAddressing::size(), Foam::stableSort(), and lduAddressing::upperAddr().
TypeName | ( | "GAMGProcAgglomeration" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
GAMGProcAgglomeration | , | ||
GAMGAgglomeration | , | ||
(GAMGAgglomeration &agglom, const dictionary &controlDict) | , | ||
(agglom, controlDict) | |||
) |
|
static |
Definition at line 353 of file GAMGProcAgglomeration.C.
References controlDict(), DebugInFunction, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::nl.
|
pure virtual |
Implemented in manualGAMGProcAgglomeration, procFacesGAMGProcAgglomeration, eagerGAMGProcAgglomeration, masterCoarsestGAMGProcAgglomeration, and noneGAMGProcAgglomeration.
Referenced by masterCoarsestGAMGProcAgglomeration::agglomerate(), eagerGAMGProcAgglomeration::agglomerate(), procFacesGAMGProcAgglomeration::agglomerate(), and manualGAMGProcAgglomeration::agglomerate().
|
protected |
Definition at line 58 of file GAMGProcAgglomeration.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.