Public Member Functions | |
TypeName ("preserveFaceZones") | |
Runtime type information. More... | |
preserveFaceZonesConstraint (const dictionary &constraintsDict, const word &type) | |
Construct with generic dictionary with optional entry for type. More... | |
preserveFaceZonesConstraint (const wordReList &zones) | |
Construct from components. More... | |
virtual | ~preserveFaceZonesConstraint () |
Destructor. More... | |
virtual void | add (const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const |
Add my constraints to list of constraints. More... | |
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. More... | |
![]() | |
TypeName ("decompositionConstraint") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, decompositionConstraint, dictionary,(const dictionary &constraintsDict, const word &type),(constraintsDict, type)) | |
decompositionConstraint (const dictionary &constraintsDict, const word &type) | |
Construct with generic dictionary with optional entry for type. More... | |
virtual | ~decompositionConstraint () |
Destructor. More... | |
Private Attributes | |
wordReList | zones_ |
List of zones to keep together. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< decompositionConstraint > | New (const dictionary &constraintsDict, const word &type) |
Return a reference to the selected decompositionConstraint. More... | |
![]() | |
dictionary | coeffDict_ |
Model coefficients dictionary. More... | |
Definition at line 53 of file preserveFaceZonesConstraint.H.
preserveFaceZonesConstraint | ( | const dictionary & | constraintsDict, |
const word & | type | ||
) |
Construct with generic dictionary with optional entry for type.
Definition at line 51 of file preserveFaceZonesConstraint.C.
References Foam::endl(), Foam::Info, and Foam::type().
preserveFaceZonesConstraint | ( | const wordReList & | zones | ) |
Construct from components.
Definition at line 70 of file preserveFaceZonesConstraint.C.
References Foam::endl(), Foam::Info, and Foam::type().
|
inlinevirtual |
Destructor.
Definition at line 83 of file preserveFaceZonesConstraint.H.
TypeName | ( | "preserveFaceZones" | ) |
Runtime type information.
|
virtual |
Add my constraints to list of constraints.
Implements decompositionConstraint.
Definition at line 89 of file preserveFaceZonesConstraint.C.
References Foam::endl(), Foam::findStrings(), forAll, Foam::Info, mesh, ZoneMesh::names(), Foam::reduce(), List::setSize(), and Foam::type().
|
virtual |
Apply any additional post-decomposition constraints.
Reimplemented from decompositionConstraint.
Definition at line 130 of file preserveFaceZonesConstraint.C.
References Foam::endl(), polyPatch::faceCells(), Foam::findStrings(), forAll, Foam::Info, Foam::labelMax, mesh, ZoneMesh::names(), Foam::reduce(), polyPatch::start(), and Foam::type().
|
private |
List of zones to keep together.
Definition at line 60 of file preserveFaceZonesConstraint.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.