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.
Inheritance diagram for manualDecomp:
Collaboration diagram for manualDecomp: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. | |
Public Member Functions inherited from decompositionMethod | |
| TypeName ("decompositionMethod") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, decompositionMethod, dictionary,(const dictionary &decompositionDict),(decompositionDict)) | |
| declareRunTimeSelectionTable (autoPtr, decompositionMethod, dictionaryMesh,(const dictionary &decompositionDict, const polyMesh &mesh),(decompositionDict, mesh)) | |
| decompositionMethod (const dictionary &decompositionDict) | |
| Construct given the decomposition dictionary. | |
| virtual | ~decompositionMethod () |
| virtual labelList | decompose (const pointField &) |
| Like decompose but with uniform weights on the points. | |
| virtual labelList | decompose (const labelList &cellToRegion, const pointField ®ionPoints, const scalarField ®ionWeights) |
| Return for every coordinate the wanted processor number. Gets. | |
| virtual labelList | decompose (const labelList &cellToRegion, const pointField ®ionPoints) |
| Like decompose but with uniform weights on the regions. | |
| virtual labelList | decompose (const labelListList &globalCellCells, const pointField &cc) |
| Like decompose but with uniform weights on the cells. | |
Additional Inherited Members | |
Static Public Member Functions inherited from decompositionMethod | |
| static autoPtr < decompositionMethod > | New (const dictionary &decompositionDict) |
| Return a reference to the selected decomposition method. | |
| static autoPtr < decompositionMethod > | New (const dictionary &decompositionDict, const polyMesh &mesh) |
| Return a reference to the selected decomposition method. | |
Static Protected Member Functions inherited from decompositionMethod | |
| static void | calcCellCells (const polyMesh &mesh, const labelList &agglom, const label nCoarse, labelListList &cellCells) |
| Helper: determine (non-parallel) cellCells from mesh agglomeration. | |
Protected Attributes inherited from decompositionMethod | |
| const dictionary & | decompositionDict_ |
| label | nProcessors_ |
| 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.
|
inlinevirtual |
Definition at line 86 of file manualDecomp.H.
| TypeName | ( | "manual" | ) |
Runtime type information.
|
inlinevirtual |
manual decompose does not care about proc boundaries - is all
up to the user.
Implements decompositionMethod.
Definition at line 94 of file manualDecomp.H.
|
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().
|
inlinevirtual |
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().