Detects baffles and keeps owner and neighbour on same processor. More...
#include <preserveBafflesConstraint.H>


Public Member Functions | |
| TypeName ("preserveBaffles") | |
| Runtime type information. | |
| preserveBaffles (const dictionary &dict) | |
| Construct with constraint dictionary. | |
| preserveBaffles () | |
| Construct from components. | |
| virtual | ~preserveBaffles ()=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. | |
Detects baffles and keeps owner and neighbour on same processor.
Dictionary parameters
| Property | Description | Required | Default |
|---|---|---|---|
type | preserveBaffles | yes |
Definition at line 65 of file preserveBafflesConstraint.H.
|
explicit |
Construct with constraint dictionary.
Definition at line 47 of file preserveBafflesConstraint.C.
References decompositionConstraint::decompositionConstraint(), dict, Foam::endl(), Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, Foam::Info, and Foam::type().

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

|
virtualdefault |
Destructor.
References mesh.
| TypeName | ( | "preserveBaffles" | ) |
Runtime type information.
References dict.
|
virtual |
Add my constraints to list of constraints.
Implements decompositionConstraint.
Definition at line 80 of file preserveBafflesConstraint.C.
References decompositionConstraint::coeffDict_, Pair< label >::compare(), Foam::endl(), localPointRegion::findDuplicateFacePairs(), forAll, Foam::Info, IOWarningInFunction, mesh, n, p, Foam::returnReduce(), List< T >::setSize(), UList< T >::size(), syncTools::syncFaceList(), and Foam::type().

|
virtual |
Apply any additional post-decomposition constraints.
Reimplemented from decompositionConstraint.
Definition at line 175 of file preserveBafflesConstraint.C.
References Foam::endl(), localPointRegion::findDuplicateFacePairs(), Foam::Info, mesh, Foam::returnReduce(), and Foam::type().
