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... | |
| refinementHistoryConstraint (const dictionary &constraintsDict, const word &type) | |
| Construct with generic dictionary with optional entry for type. More... | |
| refinementHistoryConstraint () | |
| Construct from components. More... | |
| virtual | ~refinementHistoryConstraint () |
| Destructor. More... | |
| virtual void | add (const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const |
| Add my constraints 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 any additional post-decomposition constraints. More... | |
Public Member Functions inherited from decompositionConstraint | |
| TypeName ("decompositionConstraint") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, decompositionConstraint, dictionary,(const dictionary &constraintsDict, const word &type),(constraintsDict, type)) | |
| decompositionConstraint (const dictionary &constraintsDict, const word &type) | |
| Construct with generic dictionary with optional entry for type. More... | |
| virtual | ~decompositionConstraint () |
| Destructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from decompositionConstraint | |
| static autoPtr< decompositionConstraint > | New (const dictionary &constraintsDict, const word &type) |
| Return a reference to the selected decompositionConstraint. More... | |
Protected Attributes inherited from decompositionConstraint | |
| dictionary | coeffDict_ |
| Model coefficients dictionary. More... | |
Constraint to keep all cells originating from refining the same cell onto the same processor. Reads polyMesh/refinementHistory.
Definition at line 50 of file refinementHistoryConstraint.H.
| refinementHistoryConstraint | ( | const dictionary & | constraintsDict, |
| const word & | type | ||
| ) |
Construct with generic dictionary with optional entry for type.
Definition at line 49 of file refinementHistoryConstraint.C.
References Foam::endl(), Foam::Info, and Foam::type().

Construct from components.
Definition at line 64 of file refinementHistoryConstraint.C.
References refinementHistoryConstraint::add(), Foam::endl(), Foam::Info, and Foam::type().

|
inlinevirtual |
Destructor.
Definition at line 76 of file refinementHistoryConstraint.H.
References refinementHistoryConstraint::add(), refinementHistoryConstraint::apply(), and mesh.

| TypeName | ( | "refinementHistory" | ) |
Runtime type information.
|
virtual |
Add my constraints to list of constraints.
Implements decompositionConstraint.
Definition at line 79 of file refinementHistoryConstraint.C.
References refinementHistory::active(), refinementHistory::add(), refinementHistoryConstraint::apply(), Foam::endl(), polyMesh::facesInstance(), objectRegistry::foundObject(), Foam::Info, objectRegistry::lookupObject(), mesh, polyMesh::meshSubDir, IOobject::NO_WRITE, IOobject::READ_IF_PRESENT, autoPtr< T >::reset(), Foam::type(), and autoPtr< T >::valid().
Referenced by refinementHistoryConstraint::refinementHistoryConstraint(), and refinementHistoryConstraint::~refinementHistoryConstraint().


|
virtual |
Apply any additional post-decomposition constraints.
Reimplemented from decompositionConstraint.
Definition at line 145 of file refinementHistoryConstraint.C.
References refinementHistory::active(), refinementHistory::apply(), polyMesh::facesInstance(), objectRegistry::foundObject(), objectRegistry::lookupObject(), mesh, polyMesh::meshSubDir, IOobject::NO_WRITE, IOobject::READ_IF_PRESENT, autoPtr< T >::reset(), and autoPtr< T >::valid().
Referenced by refinementHistoryConstraint::add(), and refinementHistoryConstraint::~refinementHistoryConstraint().


1.8.11