Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
GAMGProcAgglomeration Class Referenceabstract

Processor agglomeration of GAMGAgglomerations. More...

Inheritance diagram for GAMGProcAgglomeration:
Inheritance graph
[legend]
Collaboration diagram for GAMGProcAgglomeration:
Collaboration graph
[legend]

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

GAMGAgglomerationagglom_
 Reference to agglomeration. More...
 

Detailed Description

Processor agglomeration of GAMGAgglomerations.

Source files

Definition at line 52 of file GAMGProcAgglomeration.H.

Constructor & Destructor Documentation

GAMGProcAgglomeration ( GAMGAgglomeration agglom,
const dictionary controlDict 
)

Construct given agglomerator and controls.

Definition at line 343 of file GAMGProcAgglomeration.C.

References GAMGProcAgglomeration::New().

Here is the call graph for this function:

~GAMGProcAgglomeration ( )
virtual

Destructor.

Definition at line 389 of file GAMGProcAgglomeration.C.

Member Function Documentation

void printStats ( Ostream os,
GAMGAgglomeration agglom 
) const
protected
bool agglomerate ( const label  fineLevelIndex,
const labelList procAgglomMap,
const labelList masterProcs,
const List< label > &  agglomProcIDs,
const label  procAgglomComm 
)
protected

Agglomerate a level. Return true if anything has changed.

Definition at line 265 of file GAMGProcAgglomeration.C.

References lduMesh::comm(), and UPstream::myProcNo().

Here is the call graph for this function:

Foam::labelListList globalCellCells ( const lduMesh mesh)
staticprotected
TypeName ( "GAMGProcAgglomeration"  )

Runtime type information.

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

Runtime selection table for pure geometric agglomerators.

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

Return the selected agglomerator.

Definition at line 353 of file GAMGProcAgglomeration.C.

References controlDict(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, and Foam::nl.

Referenced by GAMGProcAgglomeration::GAMGProcAgglomeration().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bool agglomerate ( )
pure virtual

Member Data Documentation

GAMGAgglomeration& agglom_
protected

Reference to agglomeration.

Definition at line 60 of file GAMGProcAgglomeration.H.


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