Constraint to keep all cells connected to face or point of faceSet on a single processor. More...
Public Member Functions | |
TypeName ("singleProcessorFaceSets") | |
singleProcessorFaceSets (const dictionary &dict) | |
singleProcessorFaceSets (const List< Tuple2< word, label >> &setNameAndProcs) | |
singleProcessorFaceSets (Istream &is) | |
virtual | ~singleProcessorFaceSets ()=default |
virtual void | add (const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const |
virtual void | apply (const polyMesh &mesh, const boolList &blockedFace, const PtrList< labelList > &specifiedProcessorFaces, const labelList &specifiedProcessor, const List< labelPair > &explicitConnections, labelList &decomposition) const |
![]() | |
TypeName ("decompositionConstraint") | |
declareRunTimeSelectionTable (autoPtr, decompositionConstraint, dictionary,(const dictionary &dict),(dict)) | |
decompositionConstraint (const dictionary &constraintDict) | |
decompositionConstraint (const dictionary &constraintDict, const word &modelType) | |
virtual | ~decompositionConstraint ()=default |
Additional Inherited Members | |
![]() | |
static autoPtr< decompositionConstraint > | New (const dictionary &constraintDict) |
static autoPtr< decompositionConstraint > | New (const dictionary &constraintDict, const word &modelType) |
![]() | |
void | getMinBoundaryValue (const polyMesh &mesh, const labelList &decomposition, labelList &destProc) const |
decompositionConstraint (const decompositionConstraint &)=delete | |
void | operator= (const decompositionConstraint &)=delete |
![]() | |
dictionary | coeffDict_ |
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 |
Definition at line 61 of file singleProcessorFaceSetsConstraint.C.
|
explicit |
Definition at line 83 of file singleProcessorFaceSetsConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), Foam::Info, and Foam::type().
|
explicit |
Definition at line 102 of file singleProcessorFaceSetsConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), Foam::Info, and Foam::type().
|
virtualdefault |
TypeName | ( | "singleProcessorFaceSets" | ) |
|
virtual |
Implements decompositionConstraint.
Definition at line 122 of file singleProcessorFaceSetsConstraint.C.
References PtrList::append(), List::append(), Foam::expressions::patchExpr::debug, Foam::endl(), f(), forAll, Foam::Info, mesh, pFaces, Foam::reduce(), List::resize(), syncTools::syncFaceList(), syncTools::syncPointList(), Foam::type(), and Foam::Zero.
|
virtual |
Reimplemented from decompositionConstraint.
Definition at line 245 of file singleProcessorFaceSetsConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), f(), forAll, Foam::Info, mesh, pFaces, Foam::reduce(), Foam::BitOps::set(), syncTools::syncPointList(), and Foam::type().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.