44#ifndef preserveBafflesConstraint_H
45#define preserveBafflesConstraint_H
53namespace decompositionConstraints
62 public decompositionConstraint
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Abstract class for handling decomposition constraints.
Detects baffles and keeps owner and neighbour on 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.
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 ~preserveBaffles()=default
Destructor.
preserveBaffles()
Construct from components.
TypeName("preserveBaffles")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh consisting of general polyhedral cells.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.