Constraint to keep all cells originating from refining the same cell onto the same processor. Reads polyMesh/refinementHistory. More...
Public Member Functions | |
TypeName ("refinementHistory") | |
Runtime type information. More... | |
refinementHistory (const dictionary &dict) | |
Construct with constraint dictionary. More... | |
refinementHistory () | |
Construct from components. More... | |
virtual | ~refinementHistory ()=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 |
Apply this constraint post-decomposition. More... | |
![]() | |
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 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... | |
![]() | |
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... | |
![]() | |
dictionary | coeffDict_ |
Constraint coefficients dictionary. More... | |
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 70 of file refinementHistoryConstraint.H.
|
explicit |
Construct with constraint dictionary.
Definition at line 55 of file refinementHistoryConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), and Foam::Info.
Construct from components.
Definition at line 69 of file refinementHistoryConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), Foam::Info, and Foam::type().
|
virtualdefault |
Destructor.
TypeName | ( | "refinementHistory" | ) |
Runtime type information.
|
virtual |
Add this constraint to list of constraints.
Implements decompositionConstraint.
Definition at line 84 of file refinementHistoryConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), autoPtr< T >::get(), Foam::Info, mesh, polyMesh::meshSubDir, IOobject::NO_WRITE, IOobject::READ_IF_PRESENT, autoPtr< T >::reset(), and Foam::type().
|
virtual |
Apply this constraint post-decomposition.
Reimplemented from decompositionConstraint.
Definition at line 153 of file refinementHistoryConstraint.C.
References autoPtr< T >::get(), mesh, polyMesh::meshSubDir, IOobject::NO_WRITE, IOobject::READ_IF_PRESENT, and autoPtr< T >::reset().