GAMGProcAgglomeration Class Referenceabstract

Processor agglomeration of GAMGAgglomerations. More...

Inheritance diagram for GAMGProcAgglomeration:
Collaboration diagram for GAMGProcAgglomeration:

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< GAMGProcAgglomerationNew (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

 Reference to agglomeration. More...

Detailed Description

Processor agglomeration of GAMGAgglomerations.

Source files

Definition at line 54 of file GAMGProcAgglomeration.H.

Constructor & Destructor Documentation

◆ GAMGProcAgglomeration()

GAMGProcAgglomeration ( GAMGAgglomeration agglom,
const dictionary controlDict 

Construct given agglomerator and controls.

Definition at line 349 of file GAMGProcAgglomeration.C.

◆ ~GAMGProcAgglomeration()

~GAMGProcAgglomeration ( )


Definition at line 385 of file GAMGProcAgglomeration.C.

Member Function Documentation

◆ printStats()

◆ agglomerate() [1/2]

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.

Definition at line 271 of file GAMGProcAgglomeration.C.

References lduMesh::comm().

Here is the call graph for this function:

◆ globalCellCells()

Foam::labelListList globalCellCells ( const lduMesh mesh)

Debug: calculate global cell-cells.

Definition at line 121 of file GAMGProcAgglomeration.C.

References Foam::constant::physicoChemical::c1, forAll, Foam::identity(), lduAddressing::lowerAddr(), mesh, UPtrList< T >::set(), UPtrList< T >::size(), lduAddressing::size(), Foam::stableSort(), and lduAddressing::upperAddr().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "GAMGProcAgglomeration"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
GAMGProcAgglomeration  ,
GAMGAgglomeration  ,
(GAMGAgglomeration &agglom, const dictionary &controlDict ,
(agglom, controlDict  

Runtime selection table for pure geometric agglomerators.

◆ New()

Foam::autoPtr< Foam::GAMGProcAgglomeration > New ( const word type,
GAMGAgglomeration agglom,
const dictionary controlDict 

Return the selected agglomerator.

Definition at line 359 of file GAMGProcAgglomeration.C.

References controlDict(), DebugInFunction, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::nl.

Here is the call graph for this function:

◆ agglomerate() [2/2]

virtual bool agglomerate ( )
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().

Here is the caller graph for this function:

Member Data Documentation

◆ agglom_

GAMGAgglomeration& agglom_

Reference to agglomeration.

Definition at line 62 of file GAMGProcAgglomeration.H.

The documentation for this class was generated from the following files: