Constraint to keep all cells connected to face or point of faceSet on a single processor. More...
Public Member Functions | |
TypeName ("singleProcessorFaceSets") | |
Runtime type information. More... | |
singleProcessorFaceSetsConstraint (const dictionary &constraintsDict, const word &type) | |
Construct with generic dictionary with optional entry for type. More... | |
singleProcessorFaceSetsConstraint (const List< Tuple2< word, label >> &setNameAndProcs) | |
Construct from components. More... | |
virtual | ~singleProcessorFaceSetsConstraint () |
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... | |
decompositionConstraint (const decompositionConstraint &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~decompositionConstraint () |
Destructor. More... | |
void | operator= (const decompositionConstraint &)=delete |
Disallow default bitwise assignment. 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 connected to face or point of faceSet on a single processor.
Definition at line 53 of file singleProcessorFaceSetsConstraint.H.
singleProcessorFaceSetsConstraint | ( | const dictionary & | constraintsDict, |
const word & | type | ||
) |
Construct with generic dictionary with optional entry for type.
Definition at line 51 of file singleProcessorFaceSetsConstraint.C.
References Foam::endl(), forAll, Foam::Info, and Foam::type().
singleProcessorFaceSetsConstraint | ( | const List< Tuple2< word, label >> & | setNameAndProcs | ) |
Construct from components.
Definition at line 76 of file singleProcessorFaceSetsConstraint.C.
References Foam::endl(), forAll, Foam::Info, and Foam::type().
|
inlinevirtual |
Destructor.
Definition at line 85 of file singleProcessorFaceSetsConstraint.H.
TypeName | ( | "singleProcessorFaceSets" | ) |
Runtime type information.
|
virtual |
Add my constraints to list of constraints.
Implements decompositionConstraint.
Definition at line 102 of file singleProcessorFaceSetsConstraint.C.
References List< T >::append(), PtrList< T >::append(), Foam::endl(), f(), polyMesh::faces(), Foam::first(), forAll, forAllConstIter, Foam::Info, primitiveMesh::nFaces(), primitiveMesh::nPoints(), pFaces, primitiveMesh::pointFaces(), Foam::reduce(), List< T >::setSize(), HashTable< T, Key, Hash >::size(), UPtrList< T >::size(), HashTable< T, Key, Hash >::sortedToc(), syncTools::syncFaceList(), syncTools::syncPointList(), and Foam::type().
|
virtual |
Apply any additional post-decomposition constraints.
Reimplemented from decompositionConstraint.
Definition at line 226 of file singleProcessorFaceSetsConstraint.C.
References Foam::endl(), f(), polyMesh::faceNeighbour(), polyMesh::faceOwner(), polyMesh::faces(), forAll, Foam::Info, primitiveMesh::isInternalFace(), primitiveMesh::nPoints(), pFaces, primitiveMesh::pointFaces(), Foam::reduce(), List< T >::size(), syncTools::syncPointList(), and Foam::type().