Decomposition given a cell-to-processor association in a file. More...
#include <decompositionMethods/manualDecomp.H>
Decomposition given a cell-to-processor association in a file.
Definition at line 47 of file manualDecomp.H.
Public Member Functions | |
TypeName ("manual") | |
Runtime type information.
| |
manualDecomp (const dictionary &decompositionDict) | |
Construct given the decomposition dictionary.
| |
manualDecomp (const dictionary &decompositionDict, const polyMesh &mesh) | |
Construct given the decomposition dictionary and mesh.
| |
virtual | ~manualDecomp () |
virtual bool | parallelAware () const |
manual decompose does not care about proc boundaries - is all
| |
virtual labelList | decompose (const pointField &points, const scalarField &pointWeights) |
Return for every coordinate the wanted processor number. Use the.
| |
virtual labelList | decompose (const labelListList &globalCellCells, const pointField &cc, const scalarField &cWeights) |
Return for every coordinate the wanted processor number. Explicitly.
|
manualDecomp | ( | const dictionary & | decompositionDict ) |
Construct given the decomposition dictionary.
Definition at line 58 of file manualDecomp.C.
References notImplemented.
manualDecomp | ( | const dictionary & | decompositionDict, |
const polyMesh & | mesh | ||
) |
Construct given the decomposition dictionary and mesh.
Definition at line 67 of file manualDecomp.C.
virtual ~manualDecomp | ( | ) | [inline, virtual]
|
Definition at line 86 of file manualDecomp.H.
TypeName | ( | "manual" | ) |
Runtime type information.
virtual bool parallelAware | ( | ) | const [inline, virtual]
|
manual decompose does not care about proc boundaries - is all
up to the user.
Implements decompositionMethod.
Definition at line 94 of file manualDecomp.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)
Implements decompositionMethod.
Definition at line 85 of file manualDecomp.C.
References IOobject::AUTO_WRITE, Foam::endl(), Foam::exit(), polyMesh::facesInstance(), Foam::FatalError, FatalErrorIn, Foam::max(), mesh, Foam::min(), IOobject::MUST_READ, and List< T >::size().
Referenced by manualDecomp::decompose().
virtual labelList decompose | ( | const labelListList & | globalCellCells, |
const pointField & | cc, | ||
const scalarField & | cWeights | ||
) | [inline, virtual]
|
Return for every coordinate the wanted processor number. Explicitly.
provided connectivity - does not use mesh_. The connectivity is equal to mesh.cellCells() except for
Implements decompositionMethod.
Definition at line 115 of file manualDecomp.H.
References manualDecomp::decompose().