Constraint to keep/move owner and neighbour of faceZone onto same processor. More...
Public Member Functions | |
TypeName ("preserveFaceZones") | |
Runtime type information. More... | |
preserveFaceZones (const dictionary &dict) | |
Construct with constraint dictionary. More... | |
preserveFaceZones (const UList< wordRe > &zones) | |
Construct from components. More... | |
virtual | ~preserveFaceZones ()=default |
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 &dict),(dict)) | |
decompositionConstraint (const dictionary &constraintDict) | |
Construct with constraint dictionary. More... | |
decompositionConstraint (const dictionary &constraintDict, const word &modelType) | |
Construct with constraint dictionary and model type. More... | |
virtual | ~decompositionConstraint ()=default |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< decompositionConstraint > | New (const dictionary &constraintDict) |
Return a reference to the selected decompositionConstraint. More... | |
static autoPtr< decompositionConstraint > | New (const dictionary &constraintDict, const word &modelType) |
Return a reference to the selected decompositionConstraint. More... | |
![]() | |
void | getMinBoundaryValue (const polyMesh &mesh, const labelList &decomposition, labelList &destProc) const |
Get minimum label across coupled boundary faces. More... | |
decompositionConstraint (const decompositionConstraint &)=delete | |
No copy construct. More... | |
void | operator= (const decompositionConstraint &)=delete |
No copy assignment. More... | |
![]() | |
dictionary | coeffDict_ |
Constraint coefficients dictionary. More... | |
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 76 of file preserveFaceZonesConstraint.H.
|
explicit |
Construct with constraint dictionary.
Definition at line 54 of file preserveFaceZonesConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), and Foam::Info.
|
explicit |
Construct from components.
Definition at line 71 of file preserveFaceZonesConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), and Foam::Info.
|
virtualdefault |
Destructor.
TypeName | ( | "preserveFaceZones" | ) |
Runtime type information.
|
virtual |
Add my constraints to list of constraints.
Implements decompositionConstraint.
Definition at line 90 of file preserveFaceZonesConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), Foam::Info, mesh, ZoneMesh< ZoneType, MeshType >::names(), reduce(), List< T >::setSize(), and zoneIDs.
|
virtual |
Apply any additional post-decomposition constraints.
Reimplemented from decompositionConstraint.
Definition at line 131 of file preserveFaceZonesConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), Foam::Info, mesh, ZoneMesh< ZoneType, MeshType >::names(), reduce(), and zoneIDs.