Loading...
Searching...
No Matches
GAMGProcAgglomeration Class Referenceabstract

Processor agglomeration of GAMGAgglomerations. More...

#include <GAMGProcAgglomeration.H>

Inheritance diagram for GAMGProcAgglomeration:
Collaboration diagram for GAMGProcAgglomeration:

Public Member Functions

 TypeName ("GAMGProcAgglomeration")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, GAMGProcAgglomeration, GAMGAgglomeration,(GAMGAgglomeration &agglom, const dictionary &controlDict),(agglom, controlDict))
 Runtime selection table for pure geometric agglomerators.
 GAMGProcAgglomeration (const GAMGProcAgglomeration &)=delete
 No copy construct.
void operator= (const GAMGProcAgglomeration &)=delete
 No copy assignment.
 GAMGProcAgglomeration (GAMGAgglomeration &agglom, const dictionary &controlDict)
 Construct given agglomerator and controls.
virtual ~GAMGProcAgglomeration ()
 Destructor. Clears allocated communicators.
virtual bool agglomerate ()=0
 Modify agglomeration.

Static Public Member Functions

static autoPtr< GAMGProcAgglomerationNew (const word &type, GAMGAgglomeration &agglom, const dictionary &controlDict)
 Return the selected agglomerator.

Protected Member Functions

void printStats (Ostream &os, GAMGAgglomeration &agglom) const
 Debug: write agglomeration info.
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.
void clearCommunicators ()
 Clear/free allocated communicators.

Static Protected Member Functions

static labelListList globalCellCells (const lduMesh &)
 Debug: calculate global cell-cells.

Protected Attributes

GAMGAgglomerationagglom_
 Reference to agglomeration.
DynamicList< label > comms_
 Allocated communicators.

Detailed Description

Processor agglomeration of GAMGAgglomerations.

Source files

Definition at line 54 of file GAMGProcAgglomeration.H.

Constructor & Destructor Documentation

◆ GAMGProcAgglomeration() [1/2]

◆ GAMGProcAgglomeration() [2/2]

GAMGProcAgglomeration ( GAMGAgglomeration & agglom,
const dictionary & controlDict )

Construct given agglomerator and controls.

Definition at line 335 of file GAMGProcAgglomeration.C.

References agglom_, and controlDict().

Here is the call graph for this function:

◆ ~GAMGProcAgglomeration()

~GAMGProcAgglomeration ( )
virtual

Destructor. Clears allocated communicators.

Definition at line 372 of file GAMGProcAgglomeration.C.

References clearCommunicators().

Here is the call graph for this function:

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 )
protected

Agglomerate a level. Return true if anything has changed.

Definition at line 257 of file GAMGProcAgglomeration.C.

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

Here is the call graph for this function:

◆ globalCellCells()

◆ clearCommunicators()

void clearCommunicators ( )
protected

Clear/free allocated communicators.

Definition at line 380 of file GAMGProcAgglomeration.C.

References comms_, forAllReverse, and UPstream::freeCommunicator().

Referenced by ~GAMGProcAgglomeration().

Here is the call graph for this function:
Here is the caller 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.

References controlDict(), and GAMGProcAgglomeration().

Here is the call graph for this function:

◆ operator=()

void operator= ( const GAMGProcAgglomeration & )
delete

No copy assignment.

References controlDict(), and GAMGProcAgglomeration().

Here is the call graph for this function:

◆ New()

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

Return the selected agglomerator.

Definition at line 345 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]

Member Data Documentation

◆ agglom_

◆ comms_


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