Public Member Functions | |
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... | |
virtual void | add (const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const =0 |
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. Usually no. More... | |
Static Public Member Functions | |
static autoPtr< decompositionConstraint > | New (const dictionary &constraintsDict, const word &type) |
Return a reference to the selected decompositionConstraint. More... | |
Protected Attributes | |
dictionary | coeffDict_ |
Model coefficients dictionary. More... | |
Definition at line 54 of file decompositionConstraint.H.
decompositionConstraint | ( | const dictionary & | constraintsDict, |
const word & | type | ||
) |
Construct with generic dictionary with optional entry for type.
Definition at line 39 of file decompositionConstraint.C.
References decompositionConstraint::New().
|
virtual |
Destructor.
Definition at line 81 of file decompositionConstraint.C.
TypeName | ( | "decompositionConstraint" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
decompositionConstraint | , | ||
dictionary | , | ||
(const dictionary &constraintsDict, const word &type) | , | ||
(constraintsDict, type) | |||
) |
|
static |
Return a reference to the selected decompositionConstraint.
Definition at line 52 of file decompositionConstraint.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Foam::Info, and Foam::nl.
Referenced by decompositionConstraint::decompositionConstraint(), and decompositionMethod::decompositionMethod().
|
pure virtual |
Add my constraints to list of constraints.
Implemented in singleProcessorFaceSetsConstraint, preservePatchesConstraint, preserveFaceZonesConstraint, preserveBafflesConstraint, and refinementHistoryConstraint.
|
inlinevirtual |
Apply any additional post-decomposition constraints. Usually no.
need to do anything since decomposition method should have already obeyed the constraints
Reimplemented in singleProcessorFaceSetsConstraint, preservePatchesConstraint, preserveFaceZonesConstraint, preserveBafflesConstraint, and refinementHistoryConstraint.
Definition at line 134 of file decompositionConstraint.H.
|
protected |
Model coefficients dictionary.
Definition at line 61 of file decompositionConstraint.H.
Referenced by preserveBafflesConstraint::add().