38 #ifndef decompositionConstraint_H 39 #define decompositionConstraint_H 117 const word& modelType
133 const word& modelType
Abstract class for handling decomposition constraints.
TypeName("decompositionConstraint")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static autoPtr< decompositionConstraint > New(const dictionary &constraintDict)
Return a reference to the selected decompositionConstraint.
void getMinBoundaryValue(const polyMesh &mesh, const labelList &decomposition, labelList &destProc) const
Get minimum label across coupled boundary faces.
A class for handling words, derived from Foam::string.
declareRunTimeSelectionTable(autoPtr, decompositionConstraint, dictionary,(const dictionary &dict),(dict))
decompositionConstraint(const decompositionConstraint &)=delete
No copy construct.
virtual void apply(const polyMesh &mesh, const boolList &blockedFace, const PtrList< labelList > &specifiedProcessorFaces, const labelList &specifiedProcessor, const List< labelPair > &explicitConnections, labelList &decomposition) const
Apply any additional post-decomposition constraints.
dictionary coeffDict_
Constraint coefficients dictionary.
virtual void add(const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const =0
Add this constraint to list of constraints.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
virtual ~decompositionConstraint()=default
Destructor.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
Macros to ease declaration of run-time selection tables.
void operator=(const decompositionConstraint &)=delete
No copy assignment.