FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

pairGAMGAgglomeration Class Reference

Agglomerate using the pair algorithm. More...

#include <OpenFOAM/pairGAMGAgglomeration.H>


Detailed Description

Agglomerate using the pair algorithm.

Source files

Definition at line 51 of file pairGAMGAgglomeration.H.

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.

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 39 of file pairGAMGAgglomeration.C.


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 32 of file pairGAMGAgglomerate.C.

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

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

Agglomerate all levels starting from the given face weights.

Definition at line 202 of file pairGAMGAgglomerate.C.

References lduMesh::interfaces().

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: