Decomposition according to pseudo-random number generator. More...
Public Member Functions | |
TypeNameNoDebug ("random") | |
randomDecomp (const dictionary &decompDict, const word ®ionName="") | |
virtual | ~randomDecomp ()=default |
virtual bool | parallelAware () 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 &cc, const scalarField &cWeights) const |
virtual labelList | decompose (const labelListList &globalCellCells, const pointField &cc, 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 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 |
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_ |
Decomposition according to pseudo-random number generator.
Definition at line 44 of file randomDecomp.H.
|
explicit |
Definition at line 59 of file randomDecomp.C.
|
virtualdefault |
TypeNameNoDebug | ( | "random" | ) |
|
inlinevirtual |
Implements decompositionMethod.
Definition at line 83 of file randomDecomp.H.
|
virtual |
Reimplemented from decompositionMethod.
Definition at line 71 of file randomDecomp.C.
References points.
|
virtual |
Reimplemented from decompositionMethod.
Definition at line 81 of file randomDecomp.C.
References points.
|
virtual |
Implements decompositionMethod.
Definition at line 90 of file randomDecomp.C.
References mesh, and primitiveMesh::nCells().
|
virtual |
Implements decompositionMethod.
Definition at line 101 of file randomDecomp.C.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.