36 #ifndef preservePatchesConstraint_H
37 #define preservePatchesConstraint_H
47 namespace decompositionConstraints
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Constraint to keep owner and neighbour of (cyclic) patch on same processor.
TypeName("preservePatches")
Runtime type information.
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.
virtual ~preservePatchesConstraint()
Destructor.
virtual void add(const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const
Add my constraints to list of constraints.
preservePatchesConstraint(const dictionary &constraintsDict, const word &type)
Construct with generic dictionary with optional entry for type.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh consisting of general polyhedral cells.
A class for handling words, derived from string.
const fvPatchList & patches
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.