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

metisDecomp Class Reference

Metis domain decomposition. More...

#include <metisDecomp/metisDecomp.H>


Detailed Description

Metis domain decomposition.

Source files

Definition at line 47 of file metisDecomp.H.

Inheritance diagram for metisDecomp:
Collaboration diagram for metisDecomp:

List of all members.

Public Member Functions

 TypeName ("metis")
 Runtime type information.
 metisDecomp (const dictionary &decompositionDict, const polyMesh &mesh)
 Construct given the decomposition dictionary and mesh.
virtual  ~metisDecomp ()
virtual bool  parallelAware () const
 Is method parallel aware (i.e. does it synchronize domains across.
virtual labelList  decompose (const pointField &points, const scalarField &pointWeights)
 Return for every coordinate the wanted processor number. Use the.
virtual labelList  decompose (const labelList &agglom, const pointField &regionPoints, const scalarField &regionWeights)
 Return for every coordinate the wanted processor number. Gets.
virtual labelList  decompose (const labelList &agglom, const pointField &regionPoints)
 Same but with uniform weights.
virtual labelList  decompose (const labelListList &globalCellCells, const pointField &cc, const scalarField &cWeights)
 Return for every coordinate the wanted processor number. Explicitly.

Constructor & Destructor Documentation

metisDecomp ( const dictionary &   decompositionDict,
const polyMesh &   mesh  
)

Construct given the decomposition dictionary and mesh.

Definition at line 418 of file metisDecomp.C.

virtual ~metisDecomp (  ) [inline, virtual]

Definition at line 89 of file metisDecomp.H.


Member Function Documentation

TypeName ( "metis"    )

Runtime type information.

virtual bool parallelAware (  ) const [inline, virtual]

Is method parallel aware (i.e. does it synchronize domains across.

proc boundaries)

Implements decompositionMethod.

Definition at line 95 of file metisDecomp.H.

Foam::labelList decompose ( const pointField &   points,
const scalarField &   pointWeights  
) [virtual]

Return for every coordinate the wanted processor number. Use the.

mesh connectivity (if needed) Weights get normalised so the minimum value is 1 before truncation to an integer so the weights should be multiples of the minimum value. The overall sum of weights might otherwise overflow.

Implements decompositionMethod.

Definition at line 431 of file metisDecomp.C.

References scotchDecomp::calcCSR(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, and List< T >::size().

Foam::labelList decompose ( const labelList &   agglom,
const pointField &   regionPoints,
const scalarField &   regionWeights  
) [virtual]

Return for every coordinate the wanted processor number. Gets.

passed agglomeration map (from fine to coarse cells) and coarse cell location. Can be overridden by decomposers that provide this functionality natively. See note on weights above.

Reimplemented from decompositionMethod.

Definition at line 473 of file metisDecomp.C.

References scotchDecomp::calcCSR(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, and List< T >::size().

virtual labelList decompose ( const labelList &   agglom,
const pointField &   regionPoints  
) [inline, virtual]

Same but with uniform weights.

Reimplemented from decompositionMethod.

Definition at line 126 of file metisDecomp.H.

References List< T >::size().

Foam::labelList decompose ( const labelListList &   globalCellCells,
const pointField &   cc,
const scalarField &   cWeights  
) [virtual]

Return for every coordinate the wanted processor number. Explicitly.

provided mesh connectivity. The connectivity is equal to mesh.cellCells() except for

  • in parallel the cell numbers are global cell numbers (starting from 0 at processor0 and then incrementing all through the processors)
  • the connections are across coupled patches See note on weights above.

Implements decompositionMethod.

Definition at line 527 of file metisDecomp.C.

References scotchDecomp::calcCSR(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, and List< T >::size().


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