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