PTScotch domain decomposition. More...
Public Member Functions | |
TypeName ("ptscotch") | |
ptscotchDecomp (const dictionary &decompDict, const word ®ionName="") | |
virtual | ~ptscotchDecomp ()=default |
virtual bool | parallelAware () const |
virtual labelList | decompose (const polyMesh &mesh, const pointField &points, const scalarField &pointWeights) const |
virtual labelList | decompose (const polyMesh &mesh, const labelList &agglom, const pointField ®ionPoints, const scalarField ®ionWeights) const |
virtual labelList | decompose (const labelListList &globalCellCells, const pointField &cc, const scalarField &cWeights) const |
virtual labelList | decompose (const pointField &points, const scalarField &pointWeights) const |
virtual labelList | decompose (const pointField &points) const |
virtual labelList | decompose (const polyMesh &mesh, const pointField &points, const scalarField &pointWeights) const=0 |
virtual labelList | decompose (const polyMesh &mesh, const pointField &points) const |
virtual labelList | decompose (const polyMesh &mesh, const labelList &cellToRegion, const pointField ®ionPoints, const scalarField ®ionWeights) const |
virtual labelList | decompose (const polyMesh &mesh, const labelList &cellToRegion, const pointField ®ionPoints) const |
virtual labelList | decompose (const labelListList &globalCellCells, const pointField &cc, const scalarField &cWeights) const=0 |
virtual labelList | decompose (const labelListList &globalCellCells, const pointField &cc) const |
virtual labelList | decompose (const polyMesh &mesh, const scalarField &cellWeights, const boolList &blockedFace, const PtrList< labelList > &specifiedProcessorFaces, const labelList &specifiedProcessor, const List< labelPair > &explicitConnections) const |
labelList | decompose (const polyMesh &mesh, const scalarField &cWeights) const |
![]() | |
TypeName ("decompositionMethod") | |
declareRunTimeSelectionTable (autoPtr, decompositionMethod, dictionary,(const dictionary &decompDict, const word ®ionName),(decompDict, regionName)) | |
decompositionMethod (const dictionary &decompDict, const word ®ionName="") | |
virtual | ~decompositionMethod ()=default |
label | nDomains () const noexcept |
virtual labelList | decompose (const pointField &points, const scalarField &pointWeights) const |
virtual labelList | decompose (const pointField &points) const |
virtual labelList | decompose (const polyMesh &mesh, const pointField &points) const |
virtual labelList | decompose (const polyMesh &mesh, const labelList &cellToRegion, const pointField ®ionPoints) const |
virtual labelList | decompose (const labelListList &globalCellCells, const pointField &cc) const |
void | setConstraints (const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const |
void | applyConstraints (const polyMesh &mesh, const boolList &blockedFace, const PtrList< labelList > &specifiedProcessorFaces, const labelList &specifiedProcessor, const List< labelPair > &explicitConnections, labelList &finalDecomp) const |
virtual labelList | decompose (const polyMesh &mesh, const scalarField &cellWeights, const boolList &blockedFace, const PtrList< labelList > &specifiedProcessorFaces, const labelList &specifiedProcessor, const List< labelPair > &explicitConnections) const |
labelList | decompose (const polyMesh &mesh, const scalarField &cWeights) const |
Additional Inherited Members | |
![]() | |
static label | nDomains (const dictionary &decompDict, const word ®ionName="") |
static const dictionary & | optionalRegionDict (const dictionary &decompDict, const word ®ionName) |
static autoPtr< decompositionMethod > | New (const dictionary &decompDict, const word ®ionName="") |
static void | calcCellCells (const polyMesh &mesh, const labelList &agglom, const label nLocalCoarse, const bool global, CompactListList< label > &cellCells) |
static void | calcCellCells (const polyMesh &mesh, const labelList &agglom, const label nLocalCoarse, const bool parallel, CompactListList< label > &cellCells, CompactListList< scalar > &cellCellWeights) |
![]() | |
enum | selectionType { DEFAULT = 0, EXACT = 1, MANDATORY = 2, NULL_DICT = 4 } |
![]() | |
const dictionary & | findCoeffsDict (const word &coeffsName, int select=selectionType::DEFAULT) const |
![]() | |
static const dictionary & | findCoeffsDict (const dictionary &dict, const word &coeffsName, int select=selectionType::DEFAULT) |
![]() | |
const dictionary & | decompDict_ |
const dictionary & | decompRegionDict_ |
label | nDomains_ |
PtrList< decompositionConstraint > | constraints_ |
PTScotch domain decomposition.
For the main details about how to define the strategies, see scotchDecomp.
Coefficients dictionary: scotchCoeffs, coeffs.
Nonetheless, when decomposing in parallel, using writeGraph=true
will write out .dgr files for debugging. For example, use these files with
dgpart
as follows:
mpirun -np 4 dgpart 2 'region0_%r.dgr'
where:
Definition at line 64 of file ptscotchDecomp.H.
|
explicit |
Definition at line 70 of file dummyPtscotchDecomp.C.
|
virtualdefault |
TypeName | ( | "ptscotch" | ) |
|
inlinevirtual |
Implements decompositionMethod.
Definition at line 117 of file ptscotchDecomp.H.
|
virtual |
Implements decompositionMethod.
Definition at line 83 of file dummyPtscotchDecomp.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and notImplementedMessage.
|
virtual |
Reimplemented from decompositionMethod.
Definition at line 97 of file dummyPtscotchDecomp.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and notImplementedMessage.
|
virtual |
Implements decompositionMethod.
Definition at line 112 of file dummyPtscotchDecomp.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and notImplementedMessage.
Foam::labelList decompose |
Definition at line 1318 of file decompositionMethod.C.
Foam::labelList decompose |
Definition at line 1329 of file decompositionMethod.C.
virtual labelList decompose |
Foam::labelList decompose |
Definition at line 377 of file decompositionMethod.C.
Foam::labelList decompose |
Definition at line 389 of file decompositionMethod.C.
Foam::labelList decompose |
Definition at line 430 of file decompositionMethod.C.
virtual labelList decompose |
Foam::labelList decompose |
Definition at line 449 of file decompositionMethod.C.
Foam::labelList decompose |
Definition at line 860 of file decompositionMethod.C.
Foam::labelList decompose |
Definition at line 1264 of file decompositionMethod.C.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.