Go to the documentation of this file.
35 #ifndef decompositionMethod_H
36 #define decompositionMethod_H
219 const label nLocalCoarse,
231 const label nLocalCoarse,
static void calcCellCells(const polyMesh &mesh, const labelList &agglom, const label nLocalCoarse, const bool global, CompactListList< label > &cellCells)
Helper: determine (local or global) cellCells from mesh.
List< label > labelList
A List of labels.
virtual labelList decompose(const pointField &)
Like decompose but with uniform weights on the points.
static autoPtr< decompositionMethod > New(const dictionary &decompositionDict)
Return a reference to the selected decomposition method.
A packed storage unstructured matrix of objects of type <T> using an offset table for access.
virtual ~decompositionMethod()
Destructor.
decompositionMethod(const decompositionMethod &)
Disallow default bitwise copy construct and assignment.
Mesh consisting of general polyhedral cells.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual bool parallelAware() const =0
Is method parallel aware (i.e. does it synchronize domains across.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
declareRunTimeSelectionTable(autoPtr, decompositionMethod, dictionary,(const dictionary &decompositionDict),(decompositionDict))
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
const dictionary & decompositionDict_
void setConstraints(const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections)
Helper: extract constraints:
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for decomposition.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual labelList decompose(const pointField &points, const scalarField &pointWeights)
Return for every coordinate the wanted processor number.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void operator=(const decompositionMethod &)
void applyConstraints(const polyMesh &mesh, const boolList &blockedFace, const PtrList< labelList > &specifiedProcessorFaces, const labelList &specifiedProcessor, const List< labelPair > &explicitConnections, labelList &finalDecomp)
Helper: apply constraints to a decomposition. This gives.
TypeName("decompositionMethod")
Runtime type information.
PtrList< decompositionConstraint > constraints_
Optional constraints.