Abstract class for handling decomposition constraints. More...
Public Member Functions | |
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... | |
virtual void | add (const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const =0 |
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 any additional post-decomposition constraints. More... | |
Static Public Member Functions | |
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... | |
Protected Member Functions | |
decompositionConstraint (const decompositionConstraint &)=delete | |
No copy construct. More... | |
void | operator= (const decompositionConstraint &)=delete |
No copy assignment. More... | |
Protected Attributes | |
dictionary | coeffDict_ |
Constraint coefficients dictionary. More... | |
Abstract class for handling decomposition constraints.
Definition at line 58 of file decompositionConstraint.H.
|
protecteddelete |
No copy construct.
|
explicit |
Construct with constraint dictionary.
Definition at line 42 of file decompositionConstraint.C.
decompositionConstraint | ( | const dictionary & | constraintDict, |
const word & | modelType | ||
) |
Construct with constraint dictionary and model type.
The model type could be used for defining a coefficients sub-dictionary.
Definition at line 51 of file decompositionConstraint.C.
|
virtualdefault |
Destructor.
|
protecteddelete |
No copy assignment.
TypeName | ( | "decompositionConstraint" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
decompositionConstraint | , | ||
dictionary | , | ||
(const dictionary &dict) | , | ||
(dict) | |||
) |
|
static |
Return a reference to the selected decompositionConstraint.
Definition at line 64 of file decompositionConstraint.C.
References dict, and Foam::New().
|
static |
Return a reference to the selected decompositionConstraint.
Definition at line 78 of file decompositionConstraint.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.
|
pure virtual |
Add this constraint to list of constraints.
Implemented in geometric, singleProcessorFaceSets, preservePatches, preserveFaceZones, refinementHistory, and preserveBaffles.
|
inlinevirtual |
Apply any additional post-decomposition constraints.
Usually no need to do anything since decomposition method should have already obeyed the constraints
Reimplemented in singleProcessorFaceSets, preservePatches, preserveFaceZones, refinementHistory, and preserveBaffles.
Definition at line 147 of file decompositionConstraint.H.
|
protected |
Constraint coefficients dictionary.
Definition at line 65 of file decompositionConstraint.H.