34 #ifndef decompositionConstraint_H 35 #define decompositionConstraint_H 82 (constraintsDict, type)
TypeName("decompositionConstraint")
Runtime type information.
A list of keyword definitions, which are a keyword followed by any number of values (e...
decompositionConstraint(const dictionary &constraintsDict, const word &type)
Construct with generic dictionary with optional entry for type.
A class for handling words, derived from string.
declareRunTimeSelectionTable(autoPtr, decompositionConstraint, dictionary,(const dictionary &constraintsDict, const word &type),(constraintsDict, type))
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. Usually no.
dictionary coeffDict_
Model coefficients dictionary.
static autoPtr< decompositionConstraint > New(const dictionary &constraintsDict, const word &type)
Return a reference to the selected decompositionConstraint.
virtual void add(const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const =0
Add my constraints to list of constraints.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
virtual ~decompositionConstraint()
Destructor.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
Macros to ease declaration of run-time selection tables.
void operator=(const decompositionConstraint &)=delete
Disallow default bitwise assignment.