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... | |
virtual | ~GAMGProcAgglomeration () |
Destructor. More... | |
virtual bool | agglomerate ()=0 |
Modify agglomeration. Return true if modified. 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... | |
Private Member Functions | |
GAMGProcAgglomeration (const GAMGProcAgglomeration &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const GAMGProcAgglomeration &) |
Disallow default bitwise assignment. More... | |
Processor agglomeration of GAMGAgglomerations.
Definition at line 52 of file GAMGProcAgglomeration.H.
|
private |
Disallow default bitwise copy construct.
GAMGProcAgglomeration | ( | GAMGAgglomeration & | agglom, |
const dictionary & | controlDict | ||
) |
Construct given agglomerator and controls.
Definition at line 343 of file GAMGProcAgglomeration.C.
|
virtual |
Destructor.
Definition at line 386 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, 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::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().
|
staticprotected |
Debug: calculate global cell-cells.
Definition at line 119 of file GAMGProcAgglomeration.C.
References Foam::constant::physicoChemical::c1, forAll, lduAddressing::lowerAddr(), mesh, UPtrList::set(), PtrList::set(), List::setSize(), UPtrList::size(), lduAddressing::size(), Foam::stableSort(), globalIndex::toGlobal(), and lduAddressing::upperAddr().
|
private |
Disallow default bitwise assignment.
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, Foam::Info, Foam::nl, and Foam::type().
|
pure virtual |
Modify agglomeration. Return true if modified.
Implemented in manualGAMGProcAgglomeration, procFacesGAMGProcAgglomeration, eagerGAMGProcAgglomeration, masterCoarsestGAMGProcAgglomeration, and noneGAMGProcAgglomeration.
Referenced by masterCoarsestGAMGProcAgglomeration::agglomerate(), eagerGAMGProcAgglomeration::agglomerate(), procFacesGAMGProcAgglomeration::agglomerate(), and manualGAMGProcAgglomeration::agglomerate().
|
protected |
Reference to agglomeration.
Definition at line 60 of file GAMGProcAgglomeration.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.