Processor agglomeration of GAMGAgglomerations. More...
Public Member Functions | |
TypeName ("masterCoarsest") | |
Runtime type information. More... | |
masterCoarsestGAMGProcAgglomeration (GAMGAgglomeration &agglom, const dictionary &controlDict) | |
Construct given agglomerator and controls. More... | |
virtual | ~masterCoarsestGAMGProcAgglomeration () |
Destructor. More... | |
virtual bool | agglomerate () |
Modify agglomeration. Return true if modified. More... | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
static autoPtr< GAMGProcAgglomeration > | New (const word &type, GAMGAgglomeration &agglom, const dictionary &controlDict) |
Return the selected agglomerator. More... | |
![]() | |
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 labelListList | globalCellCells (const lduMesh &) |
Debug: calculate global cell-cells. More... | |
![]() | |
GAMGAgglomeration & | agglom_ |
Reference to agglomeration. More... | |
Processor agglomeration of GAMGAgglomerations.
Definition at line 53 of file masterCoarsestGAMGProcAgglomeration.H.
masterCoarsestGAMGProcAgglomeration | ( | GAMGAgglomeration & | agglom, |
const dictionary & | controlDict | ||
) |
Construct given agglomerator and controls.
Definition at line 50 of file masterCoarsestGAMGProcAgglomeration.C.
|
virtual |
Destructor.
Definition at line 62 of file masterCoarsestGAMGProcAgglomeration.C.
References forAllReverse, and UPstream::freeCommunicator().
TypeName | ( | "masterCoarsest" | ) |
Runtime type information.
|
virtual |
Modify agglomeration. Return true if modified.
Implements GAMGProcAgglomeration.
Definition at line 76 of file masterCoarsestGAMGProcAgglomeration.C.
References GAMGProcAgglomeration::agglomerate(), UPstream::allocateCommunicator(), GAMGAgglomeration::calculateRegionMaster(), lduMesh::comm(), Foam::expressions::patchExpr::debug, Foam::endl(), UPstream::myProcNo(), Foam::nl, UPstream::nProcs(), Foam::Pout, and Foam::Zero.