Constraint to keep all cells originating from refining the same cell onto the same processor. Reads polyMesh/refinementHistory. More...
Public Member Functions | |
TypeName ("refinementHistory") | |
refinementHistory (const dictionary &dict) | |
refinementHistory () | |
virtual | ~refinementHistory ()=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 originating from refining the same cell onto the same processor. Reads polyMesh/refinementHistory.
Dictionary parameters
Property | Description | Required | Default |
---|---|---|---|
type | refinementHistory | yes |
Definition at line 66 of file refinementHistoryConstraint.H.
|
explicit |
Definition at line 48 of file refinementHistoryConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), and Foam::Info.
Definition at line 62 of file refinementHistoryConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), Foam::Info, and Foam::type().
|
virtualdefault |
TypeName | ( | "refinementHistory" | ) |
|
virtual |
Implements decompositionConstraint.
Definition at line 77 of file refinementHistoryConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), autoPtr::get(), Foam::Info, mesh, polyMesh::meshSubDir, IOobject::NO_WRITE, IOobject::READ_IF_PRESENT, autoPtr::reset(), and Foam::type().
|
virtual |
Reimplemented from decompositionConstraint.
Definition at line 146 of file refinementHistoryConstraint.C.
References autoPtr::get(), mesh, polyMesh::meshSubDir, IOobject::NO_WRITE, IOobject::READ_IF_PRESENT, and autoPtr::reset().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.