46 #ifndef preservePatchesConstraint_H 47 #define preservePatchesConstraint_H 57 namespace decompositionConstraints
66 public decompositionConstraint
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.
preservePatches(const dictionary &dict)
Construct with constraint dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
TypeName("preservePatches")
Runtime type information.
virtual ~preservePatches()=default
Destructor.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
const polyBoundaryMesh & patches
virtual void add(const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const
Add my constraints to list of constraints.
Mesh consisting of general polyhedral cells.