45#ifndef preserveFaceZonesConstraint_H
46#define preserveFaceZonesConstraint_H
55namespace decompositionConstraints
62class preserveFaceZones
64 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/move owner and neighbour of faceZone onto same processor.
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.
TypeName("preserveFaceZones")
Runtime type information.
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 ~preserveFaceZones()=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.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.