Go to the documentation of this file.
38 #ifndef decompositionMethod_H
39 #define decompositionMethod_H
61 bool constraintCompat(
const word& modelType)
const;
64 void readConstraints();
117 const word& coeffsName,
118 int select = selectionType::DEFAULT
135 const word& coeffsName,
136 int select = selectionType::DEFAULT
210 inline label
nDomains() const noexcept
312 const label nLocalCoarse,
324 const label nLocalCoarse,
static void calcCellCells(const polyMesh &mesh, const labelList &agglom, const label nLocalCoarse, const bool global, CompactListList< label > &cellCells)
const dictionary & decompDict_
A class for handling words, derived from Foam::string.
@ EXACT
No fallback to "coeffs" if main name not found.
static const dictionary & optionalRegionDict(const dictionary &decompDict, const word ®ionName)
const dictionary & decompRegionDict_
A packed storage unstructured matrix of objects of type <T> using an offset table for access.
void setConstraints(const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const
Mesh consisting of general polyhedral cells.
virtual bool parallelAware() const =0
@ MANDATORY
Fatal if dictionary could not be found.
Generic templated field type.
@ DEFAULT
Default request.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
declareRunTimeSelectionTable(autoPtr, decompositionMethod, dictionary,(const dictionary &decompDict, const word ®ionName),(decompDict, regionName))
Abstract base class for domain decomposition.
virtual ~decompositionMethod()=default
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual labelList decompose(const pointField &points, const scalarField &pointWeights) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static autoPtr< decompositionMethod > New(const dictionary &decompDict, const word ®ionName="")
label nDomains() const noexcept
TypeName("decompositionMethod")
void applyConstraints(const polyMesh &mesh, const boolList &blockedFace, const PtrList< labelList > &specifiedProcessorFaces, const labelList &specifiedProcessor, const List< labelPair > &explicitConnections, labelList &finalDecomp) const
static const dictionary & findCoeffsDict(const dictionary &dict, const word &coeffsName, int select=selectionType::DEFAULT)
PtrList< decompositionConstraint > constraints_