Constraint to keep/move owner and neighbour of faceZone onto same processor. More...
#include <preserveFaceZonesConstraint.H>


Public Member Functions | |
| TypeName ("preserveFaceZones") | |
| Runtime type information. | |
| preserveFaceZones (const dictionary &dict) | |
| Construct with constraint dictionary. | |
| preserveFaceZones (const UList< wordRe > &zones) | |
| Construct from components. | |
| virtual | ~preserveFaceZones ()=default |
| Destructor. | |
| 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 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. | |
| Public Member Functions inherited from decompositionConstraint | |
| TypeName ("decompositionConstraint") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, decompositionConstraint, dictionary,(const dictionary &dict),(dict)) | |
| decompositionConstraint (const dictionary &constraintDict) | |
| Construct with constraint dictionary. | |
| decompositionConstraint (const dictionary &constraintDict, const word &modelType) | |
| Construct with constraint dictionary and model type. | |
| virtual | ~decompositionConstraint ()=default |
| Destructor. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from decompositionConstraint | |
| static autoPtr< decompositionConstraint > | New (const dictionary &constraintDict) |
| Return a reference to the selected decompositionConstraint. | |
| static autoPtr< decompositionConstraint > | New (const dictionary &constraintDict, const word &modelType) |
| Return a reference to the selected decompositionConstraint. | |
| Protected Member Functions inherited from decompositionConstraint | |
| void | getMinBoundaryValue (const polyMesh &mesh, const labelList &decomposition, labelList &destProc) const |
| Get minimum label across coupled boundary faces. | |
| decompositionConstraint (const decompositionConstraint &)=delete | |
| No copy construct. | |
| void | operator= (const decompositionConstraint &)=delete |
| No copy assignment. | |
| Protected Attributes inherited from decompositionConstraint | |
| dictionary | coeffDict_ |
| Constraint coefficients dictionary. | |
Constraint to keep/move owner and neighbour of faceZone onto same processor.
Dictionary parameters
| Property | Description | Required | Default |
|---|---|---|---|
type | preserveFaceZones | yes | |
zones | List of face zone names or regexs | yes |
Definition at line 72 of file preserveFaceZonesConstraint.H.
|
explicit |
Construct with constraint dictionary.
Definition at line 46 of file preserveFaceZonesConstraint.C.
References decompositionConstraint::coeffDict_, decompositionConstraint::decompositionConstraint(), dict, Foam::endl(), Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, Foam::Info, and Foam::type().

Construct from components.
Definition at line 63 of file preserveFaceZonesConstraint.C.
References decompositionConstraint::decompositionConstraint(), Foam::endl(), Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, Foam::Info, and Foam::type().

|
virtualdefault |
Destructor.
References mesh.
| TypeName | ( | "preserveFaceZones" | ) |
Runtime type information.
References dict.
|
virtual |
Add my constraints to list of constraints.
Implements decompositionConstraint.
Definition at line 82 of file preserveFaceZonesConstraint.C.
References Foam::endl(), Foam::Info, mesh, ZoneMesh< ZoneType, MeshType >::names(), Foam::returnReduce(), List< T >::setSize(), syncTools::syncFaceList(), Foam::type(), and zoneIDs.

|
virtual |
Apply any additional post-decomposition constraints.
Reimplemented from decompositionConstraint.
Definition at line 123 of file preserveFaceZonesConstraint.C.
References Foam::endl(), decompositionConstraint::getMinBoundaryValue(), Foam::Info, mesh, ZoneMesh< ZoneType, MeshType >::names(), Foam::returnReduce(), Foam::returnReduceOr(), Foam::type(), and zoneIDs.
