Constraint to keep owner and neighbour of (cyclic) patch on same processor. More...
Public Member Functions | |
TypeName ("preservePatches") | |
preservePatches (const dictionary &dict) | |
preservePatches (const UList< wordRe > &patches) | |
virtual | ~preservePatches ()=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 owner and neighbour of (cyclic) patch on same processor.
Dictionary parameters
Property | Description | Required | Default |
---|---|---|---|
type | preservePatches | yes | |
patches | List of patch names or regexs | yes |
Definition at line 74 of file preservePatchesConstraint.H.
|
explicit |
Definition at line 47 of file preservePatchesConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), and Foam::Info.
|
explicit |
Definition at line 66 of file preservePatchesConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), and Foam::Info.
|
virtualdefault |
TypeName | ( | "preservePatches" | ) |
|
virtual |
Implements decompositionConstraint.
Definition at line 87 of file preservePatchesConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), forAll, Foam::Info, mesh, polyBoundaryMesh::patchSet(), reduce(), List::resize(), and polyPatch::start().
|
virtual |
Reimplemented from decompositionConstraint.
Definition at line 130 of file preservePatchesConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), polyPatch::faceCells(), forAll, Foam::Info, mesh, polyPatch::offset(), polyBoundaryMesh::patchSet(), and reduce().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.