Constraint to keep all cells connected to face or point of faceSet on a single processor. More...


Public Member Functions | |
| TypeName ("singleProcessorFaceSets") | |
| Runtime type information. More... | |
| singleProcessorFaceSets (const dictionary &dict) | |
| Construct with constraint dictionary. More... | |
| singleProcessorFaceSets (const List< Tuple2< word, label >> &setNameAndProcs) | |
| Copy construct from components. More... | |
| singleProcessorFaceSets (Istream &is) | |
| Read construct a List of (setName processor) More... | |
| virtual | ~singleProcessorFaceSets ()=default |
| Destructor. More... | |
| virtual void | add (const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const |
| Add this constraint 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 |
| Add this constraint post-decomposition. More... | |
Public Member Functions inherited from decompositionConstraint | |
| 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 Public Member Functions inherited from decompositionConstraint | |
| 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... | |
Protected Member Functions inherited from decompositionConstraint | |
| 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... | |
Protected Attributes inherited from decompositionConstraint | |
| dictionary | coeffDict_ |
| Constraint coefficients dictionary. More... | |
Constraint to keep all cells connected to face or point of faceSet on a single processor.
Dictionary parameters
| Property | Description | Required | Default |
|---|---|---|---|
type | singleProcessorFaceSets | yes | |
sets | List of sets and processers | yes |
Example,
constraints
{
procs
{
type singleProcessorFaceSets;
sets
(
(faceSet1 0)
(faceSet5 12)
(faceSet25 510)
);
}
}
Definition at line 90 of file singleProcessorFaceSetsConstraint.H.
|
explicit |
Construct with constraint dictionary.
Definition at line 61 of file singleProcessorFaceSetsConstraint.C.
|
explicit |
Copy construct from components.
Definition at line 83 of file singleProcessorFaceSetsConstraint.C.
References Foam::ensightOutput::debug, Foam::endl(), Foam::Info, and Foam::type().

|
explicit |
Read construct a List of (setName processor)
Definition at line 102 of file singleProcessorFaceSetsConstraint.C.
References Foam::ensightOutput::debug, Foam::endl(), Foam::Info, and Foam::type().

|
virtualdefault |
Destructor.
| TypeName | ( | "singleProcessorFaceSets" | ) |
Runtime type information.
|
virtual |
Add this constraint to list of constraints.
Implements decompositionConstraint.
Definition at line 122 of file singleProcessorFaceSetsConstraint.C.
References PtrList< T >::append(), List< T >::append(), Foam::ensightOutput::debug, Foam::endl(), f(), faceLabels(), forAll, Foam::Info, mesh, pFaces, List< T >::resize(), Foam::returnReduce(), Foam::returnReduceOr(), UPtrList< T >::size(), syncTools::syncFaceList(), syncTools::syncPointList(), Foam::type(), WarningInFunction, and Foam::Zero.

|
virtual |
Add this constraint post-decomposition.
Reimplemented from decompositionConstraint.
Definition at line 254 of file singleProcessorFaceSetsConstraint.C.
References Foam::ensightOutput::debug, Foam::endl(), f(), forAll, Foam::Info, mesh, pFaces, Foam::reduce(), Foam::returnReduce(), syncTools::syncPointList(), and Foam::type().
