'Eager' processor agglomeration of GAMGAgglomerations: at every level agglomerates 'mergeLevels' number of processors onto the minimum processor number. More...
Public Member Functions | |
TypeName ("eager") | |
Runtime type information. More... | |
eagerGAMGProcAgglomeration (GAMGAgglomeration &agglom, const dictionary &controlDict) | |
Construct given agglomerator and controls. More... | |
virtual | ~eagerGAMGProcAgglomeration () |
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... | |
Private Member Functions | |
eagerGAMGProcAgglomeration (const eagerGAMGProcAgglomeration &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const eagerGAMGProcAgglomeration &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
const label | mergeLevels_ |
Agglpmeration level. More... | |
DynamicList< label > | comms_ |
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... | |
'Eager' processor agglomeration of GAMGAgglomerations: at every level agglomerates 'mergeLevels' number of processors onto the minimum processor number.
Definition at line 53 of file eagerGAMGProcAgglomeration.H.
|
private |
Disallow default bitwise copy construct.
eagerGAMGProcAgglomeration | ( | GAMGAgglomeration & | agglom, |
const dictionary & | controlDict | ||
) |
Construct given agglomerator and controls.
Definition at line 51 of file eagerGAMGProcAgglomeration.C.
|
virtual |
Destructor.
Definition at line 64 of file eagerGAMGProcAgglomeration.C.
References eagerGAMGProcAgglomeration::comms_, forAllReverse, and UPstream::freeCommunicator().
|
private |
Disallow default bitwise assignment.
TypeName | ( | "eager" | ) |
Runtime type information.
|
virtual |
Modify agglomeration. Return true if modified.
Implements GAMGProcAgglomeration.
Definition at line 78 of file eagerGAMGProcAgglomeration.C.
References GAMGProcAgglomeration::agglomerate(), UPstream::allocateCommunicator(), GAMGAgglomeration::calculateRegionMaster(), lduMesh::comm(), Foam::endl(), forAll, UPstream::myProcNo(), Foam::nl, UPstream::nProcs(), and Foam::Pout.
|
private |
Agglpmeration level.
Definition at line 60 of file eagerGAMGProcAgglomeration.H.
|
private |
Definition at line 62 of file eagerGAMGProcAgglomeration.H.
Referenced by eagerGAMGProcAgglomeration::~eagerGAMGProcAgglomeration().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.