Metis domain decomposition. More...
#include <metisDecomp/metisDecomp.H>
Metis domain decomposition.
Definition at line 47 of file metisDecomp.H.
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 ®ionPoints, const scalarField ®ionWeights) |
Return for every coordinate the wanted processor number. Gets.
| |
virtual labelList | decompose (const labelList &agglom, const pointField ®ionPoints) |
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.
|
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.
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
Implements decompositionMethod.
Definition at line 527 of file metisDecomp.C.
References scotchDecomp::calcCSR(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, and List< T >::size().