OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

pairGAMGAgglomeration Class Reference

Agglomerate using the pair algorithm. More...

Inheritance diagram for pairGAMGAgglomeration:
Collaboration diagram for pairGAMGAgglomeration:

List of all members.


Public Member Functions

 TypeName ("pair")
 Runtime type information.
 pairGAMGAgglomeration (const lduMesh &mesh, const dictionary &controlDict)
 Construct given mesh and controls.

Protected Member Functions

tmp< labelField > agglomerate (label &nCoarseCells, const lduAddressing &fineMatrixAddressing, const scalarField &faceWeights)
 Calculate and return agglomeration of given level.
void agglomerate (const lduMesh &mesh, const scalarField &faceWeights)
 Agglomerate all levels starting from the given face weights.
void combineLevels (const label curLevel)
 pairGAMGAgglomeration (const pairGAMGAgglomeration &)
 Disallow default bitwise copy construct.
void operator= (const pairGAMGAgglomeration &)
 Disallow default bitwise assignment.

Detailed Description

Agglomerate using the pair algorithm.

Source files

Definition at line 46 of file pairGAMGAgglomeration.H.


Constructor & Destructor Documentation

pairGAMGAgglomeration ( const pairGAMGAgglomeration &   )  [protected]

Disallow default bitwise copy construct.

pairGAMGAgglomeration ( const lduMesh &  mesh,
const dictionary &  controlDict 
)

Construct given mesh and controls.

Definition at line 31 of file pairGAMGAgglomeration.C.

References Foam::defineTypeNameAndDebug().

Here is the call graph for this function:


Member Function Documentation

Foam::tmp< Foam::labelField > agglomerate ( label &  nCoarseCells,
const lduAddressing &  fineMatrixAddressing,
const scalarField &  faceWeights 
) [protected]

Calculate and return agglomeration of given level.

Definition at line 24 of file pairGAMGAgglomerate.C.

References forAll, lduAddressing::lowerAddr(), Foam::max(), UList< T >::size(), lduAddressing::size(), and lduAddressing::upperAddr().

Here is the call graph for this function:

void agglomerate ( const lduMesh &  mesh,
const scalarField &  faceWeights 
) [protected]

Agglomerate all levels starting from the given face weights.

Definition at line 194 of file pairGAMGAgglomerate.C.

void operator= ( const pairGAMGAgglomeration &   )  [protected]

Disallow default bitwise assignment.

TypeName ( "pair"   ) 

Runtime type information.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd