Abstract class for handling decomposition constraints. More...
#include <decompositionConstraint.H>


Public Member Functions | |
| 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. | |
| virtual void | add (const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const =0 |
| Add this constraint 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. | |
Static Public Member Functions | |
| 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 | |
| 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 | |
| dictionary | coeffDict_ |
| Constraint coefficients dictionary. | |
Abstract class for handling decomposition constraints.
Definition at line 54 of file decompositionConstraint.H.
|
protecteddelete |
No copy construct.
References decompositionConstraint().
Referenced by declareRunTimeSelectionTable(), decompositionConstraint(), geometric::geometric(), geometric::geometric(), operator=(), preserveBaffles::preserveBaffles(), preserveBaffles::preserveBaffles(), preserveFaceZones::preserveFaceZones(), preserveFaceZones::preserveFaceZones(), preservePatches::preservePatches(), preservePatches::preservePatches(), refinementHistory::refinementHistory(), refinementHistory::refinementHistory(), singleProcessorFaceSets::singleProcessorFaceSets(), singleProcessorFaceSets::singleProcessorFaceSets(), and singleProcessorFaceSets::singleProcessorFaceSets().


|
explicit |
Construct with constraint dictionary.
Definition at line 125 of file decompositionConstraint.C.
References coeffDict_.
| decompositionConstraint | ( | const dictionary & | constraintDict, |
| const word & | modelType ) |
Construct with constraint dictionary and model type.
The model type could be used for defining a coefficients sub-dictionary.
Definition at line 134 of file decompositionConstraint.C.
References coeffDict_.
|
virtualdefault |
Destructor.
|
protected |
Get minimum label across coupled boundary faces.
Definition at line 37 of file decompositionConstraint.C.
References fld(), forAll, Foam::isA(), Foam::labelMax, mesh, Foam::min(), pbm, pp(), List< T >::setSize(), and syncTools::syncBoundaryFaceList().
Referenced by preserveFaceZones::apply(), and preservePatches::apply().


|
protecteddelete |
| TypeName | ( | "decompositionConstraint" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| decompositionConstraint | , | ||
| dictionary | , | ||
| (const dictionary &dict) | , | ||
| (dict) | ) |
|
static |
Return a reference to the selected decompositionConstraint.
Definition at line 147 of file decompositionConstraint.C.
Referenced by New().


|
static |
Return a reference to the selected decompositionConstraint.
Definition at line 161 of file decompositionConstraint.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.

|
pure virtual |
Add this constraint to list of constraints.
Implemented in geometric, preserveBaffles, preserveFaceZones, preservePatches, refinementHistory, and singleProcessorFaceSets.
References mesh.
|
inlinevirtual |
Apply any additional post-decomposition constraints.
Usually no need to do anything since decomposition method should have already obeyed the constraints
Reimplemented in preserveBaffles, preserveFaceZones, preservePatches, refinementHistory, and singleProcessorFaceSets.
Definition at line 177 of file decompositionConstraint.H.
References mesh.
|
protected |
Constraint coefficients dictionary.
Definition at line 63 of file decompositionConstraint.H.
Referenced by preserveBaffles::add(), decompositionConstraint(), decompositionConstraint(), geometric::geometric(), preserveFaceZones::preserveFaceZones(), preservePatches::preservePatches(), and singleProcessorFaceSets::singleProcessorFaceSets().