Manual processor agglomerator. More...


Public Member Functions | |
| TypeName ("manual") | |
| Runtime type information. More... | |
| manualGAMGProcAgglomeration (GAMGAgglomeration &agglom, const dictionary &dict) | |
| Construct given agglomerator and controls. More... | |
| manualGAMGProcAgglomeration (const manualGAMGProcAgglomeration &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~manualGAMGProcAgglomeration () |
| Destructor. More... | |
| virtual bool | agglomerate () |
| Modify agglomeration. Return true if modified. More... | |
| void | operator= (const manualGAMGProcAgglomeration &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from GAMGProcAgglomeration | |
| TypeName ("GAMGProcAgglomeration") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, GAMGProcAgglomeration, GAMGAgglomeration,(GAMGAgglomeration &agglom, const dictionary &dict),(agglom, dict)) | |
| Runtime selection table for pure geometric agglomerators. More... | |
| GAMGProcAgglomeration (GAMGAgglomeration &agglom, const dictionary &dict) | |
| Construct given agglomerator and controls. More... | |
| GAMGProcAgglomeration (const GAMGProcAgglomeration &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~GAMGProcAgglomeration () |
| Destructor. More... | |
| void | operator= (const GAMGProcAgglomeration &)=delete |
| Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from GAMGProcAgglomeration | |
| static autoPtr< GAMGProcAgglomeration > | New (GAMGAgglomeration &agglom, const dictionary &dict) |
| Return the selected agglomerator. More... | |
Protected Member Functions inherited from GAMGProcAgglomeration | |
| 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 inherited from GAMGProcAgglomeration | |
| static labelListList | globalCellCells (const lduMesh &) |
| Debug: calculate global cell-cells. More... | |
Protected Attributes inherited from GAMGProcAgglomeration | |
| GAMGAgglomeration & | agglom_ |
| Reference to agglomeration. More... | |
Manual processor agglomerator.
In the GAMG control dictionary:
processorAgglomeration
{
agglomerator manual;
// List of level + list of processor clusters
//
// Each cluster of processor is specified as a list of IDs which are
// merged onto the first element in the list.
processorAgglomeration
(
(
3 // at level 3
(
(0 1) // coarse 0 from 0,1 (and moved onto 0)
(3 2) // coarse 1 from 2,3 (and moved onto 3)
)
)
(
6 // at level6
(
(0 1) // coarse 0 from 0,1 (and moved onto 0)
)
)
);
}
Definition at line 85 of file manualGAMGProcAgglomeration.H.
| manualGAMGProcAgglomeration | ( | GAMGAgglomeration & | agglom, |
| const dictionary & | dict | ||
| ) |
Construct given agglomerator and controls.
Definition at line 47 of file manualGAMGProcAgglomeration.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 60 of file manualGAMGProcAgglomeration.C.
References forAllReverse, and UPstream::freeCommunicator().

| TypeName | ( | "manual" | ) |
Runtime type information.
|
virtual |
Modify agglomeration. Return true if modified.
Implements GAMGProcAgglomeration.
Definition at line 75 of file manualGAMGProcAgglomeration.C.
References GAMGProcAgglomeration::agglomerate(), UPstream::allocateCommunicator(), lduMesh::comm(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::findIndex(), forAll, UList< T >::last(), UPstream::myProcNo(), Foam::nl, UPstream::nProcs(), Foam::Pout, List< T >::size(), Foam::Swap(), and WarningInFunction.

|
delete |
Disallow default bitwise assignment.