Processor patch boundary needs to be such that the ordering of points in the patch is the same on both sides. More...
#include <processorCyclicPointPatch.H>


Public Member Functions | |
| TypeName (processorCyclicPolyPatch::typeName_()) | |
| Runtime type information. | |
| processorCyclicPointPatch (const polyPatch &patch, const pointBoundaryMesh &bm) | |
| Construct from components. | |
| processorCyclicPointPatch (const processorCyclicPointPatch &patch, const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap) | |
| Construct given the original patch and a map. | |
| virtual autoPtr< pointPatch > | clone (const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap) const |
| Construct and return a subset clone, resetting the point list and boundary mesh. | |
| virtual | ~processorCyclicPointPatch () |
| Destructor. | |
| virtual int | tag () const |
| Return message tag to use for communication. | |
| const processorCyclicPolyPatch & | procCyclicPolyPatch () const |
| Return the underlying processorCyclicPolyPatch. | |
| Public Member Functions inherited from processorPointPatch | |
| TypeName (processorPolyPatch::typeName_()) | |
| Runtime type information. | |
| processorPointPatch (const polyPatch &patch, const pointBoundaryMesh &bm) | |
| Construct from components. | |
| processorPointPatch (const processorPointPatch &patch, const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap) | |
| Construct given the original patch and a map. | |
| virtual | ~processorPointPatch ()=default |
| Destructor. | |
| virtual label | comm () const |
| Return communicator used for communication. | |
| virtual const word & | constraintType () const |
| Return the constraint type this pointPatch implements. | |
| int | myProcNo () const noexcept |
| Return processor number. | |
| int | neighbProcNo () const noexcept |
| Return neighbour processor number. | |
| bool | owner () const |
| Does the processor own the patch ? | |
| bool | neighbour () const |
| Is the processor the patch neighbour ? | |
| const processorPolyPatch & | procPolyPatch () const noexcept |
| Return the underlying processorPolyPatch. | |
| const labelList & | reverseMeshPoints () const noexcept |
| Return mesh points in the correct order for the receiving side. | |
| Public Member Functions inherited from coupledFacePointPatch | |
| TypeName (coupledPolyPatch::typeName_()) | |
| Runtime type information. | |
| coupledFacePointPatch (const polyPatch &patch, const pointBoundaryMesh &bm) | |
| Construct from components. | |
| coupledFacePointPatch (const coupledFacePointPatch &pp, const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap) | |
| Construct given the original patch and a map. | |
| virtual | ~coupledFacePointPatch ()=default |
| Destructor. | |
| Public Member Functions inherited from facePointPatch | |
| TypeName (polyPatch::typeName_()) | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, facePointPatch, polyPatch,(const polyPatch &patch, const pointBoundaryMesh &bm),(patch, bm)) | |
| facePointPatch (const polyPatch &p, const pointBoundaryMesh &pm) | |
| Construct from polyPatch and boundary mesh. | |
| facePointPatch (const facePointPatch &pp, const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap) | |
| Construct given the original patch and a map. | |
| virtual | ~facePointPatch ()=default |
| Destructor. | |
| virtual const polyPatch & | patch () const |
| Return the polyPatch. | |
| virtual const word & | name () const |
| Return name. | |
| virtual label | size () const |
| Return size. | |
| virtual label | index () const |
| Return the index of this patch in the pointBoundaryMesh. | |
| virtual bool | coupled () const |
| Return true if this patch field is coupled. | |
| virtual const labelList & | meshPoints () const |
| Return mesh points. | |
| virtual const pointField & | localPoints () const |
| Return pointField of points in patch. | |
| virtual const vectorField & | pointNormals () const |
| Return point unit normals. | |
| Public Member Functions inherited from pointPatch | |
| TypeName ("basePatch") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, pointPatch, dictionary,(const word &name, const dictionary &dict, const label index, const pointBoundaryMesh &bm, const word &patchType),(name, dict, index, bm, patchType)) | |
| pointPatch (const word &name, const label index, const pointBoundaryMesh &bm, const word &physicalType, const wordList &inGroups) | |
| Construct from components. | |
| pointPatch (const word &name, const dictionary &dict, const label index, const pointBoundaryMesh &bm) | |
| Construct from dictionary. | |
| pointPatch (const pointPatch &pp, const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap) | |
| Construct given the original patch and a map. | |
| virtual | ~pointPatch ()=default |
| Destructor. | |
| const pointBoundaryMesh & | boundaryMesh () const |
| Return boundaryMesh reference. | |
| virtual void | applyConstraint (const label pointi, pointConstraint &) const |
| Accumulate the effect of constraint direction of this patch. | |
| virtual void | write (Ostream &) const |
| Write the pointPatch data as a dictionary. | |
| Public Member Functions inherited from patchIdentifier | |
| patchIdentifier (const patchIdentifier &)=default | |
| Copy construct. | |
| patchIdentifier (patchIdentifier &&)=default | |
| Move construct. | |
| patchIdentifier & | operator= (const patchIdentifier &)=default |
| Copy assignment. | |
| patchIdentifier & | operator= (patchIdentifier &&)=default |
| Move assignment. | |
| virtual | ~patchIdentifier ()=default |
| Destructor. | |
| patchIdentifier () | |
| Default construct: name="", index=0. | |
| patchIdentifier (const word &name, const label index) | |
| Construct from mandatory components. | |
| patchIdentifier (const word &name, const label index, const word &physicalType, const wordList &inGroups=wordList()) | |
| Construct from components. | |
| patchIdentifier (const word &name, const dictionary &dict, const label index) | |
| Construct from dictionary. | |
| patchIdentifier (const patchIdentifier &ident, const label newIndex) | |
| Copy construct, resetting the index (if non-negative). | |
| patchIdentifier (patchIdentifier &&ident, const label newIndex) | |
| Move construct, resetting the index (if non-negative). | |
| const word & | name () const noexcept |
| The patch name. | |
| word & | name () noexcept |
| Modifiable patch name. | |
| label | index () const noexcept |
| The index of this patch in the boundaryMesh. | |
| label & | index () noexcept |
| Modifiable index of this patch in the boundaryMesh. | |
| const word & | physicalType () const noexcept |
| The (optional) physical type of the patch. | |
| word & | physicalType () noexcept |
| Modifiable (optional) physical type of the patch. | |
| const wordList & | inGroups () const noexcept |
| The (optional) groups that the patch belongs to. | |
| wordList & | inGroups () noexcept |
| Modifiable (optional) groups that the patch belongs to. | |
| bool | inGroup (const word &name) const |
| True if given name is in a group. | |
| void | addGroup (const word &name) |
| Add (unique) group for the patch. | |
| void | removeGroup (const word &name) |
| Remove group for the patch. | |
| void | write (Ostream &os) const |
| Write (physicalType, inGroups) dictionary entries (without surrounding braces). | |
| Public Member Functions inherited from coupledPointPatch | |
| TypeName (coupledPolyPatch::typeName_()) | |
| Runtime type information. | |
| coupledPointPatch (const pointBoundaryMesh &bm) | |
| Construct from components. | |
| virtual | ~coupledPointPatch ()=default |
| Destructor. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from facePointPatch | |
| static autoPtr< facePointPatch > | New (const polyPatch &, const pointBoundaryMesh &) |
| Return a pointer to a new patch created on freestore from polyPatch. | |
| Static Public Member Functions inherited from pointPatch | |
| static autoPtr< pointPatch > | New (const word &name, const dictionary &dict, const label index, const pointBoundaryMesh &) |
| Return a pointer to a new patch created on freestore. Returns null if not found. | |
| Static Public Member Functions inherited from patchIdentifier | |
| static word | defaultName (const label n=-1) |
| Default patch name: "patch" or "patchN". | |
| Protected Member Functions inherited from coupledFacePointPatch | |
| coupledFacePointPatch (const coupledFacePointPatch &)=delete | |
| No copy construct. | |
| void | operator= (const coupledFacePointPatch &)=delete |
| No copy assignment. | |
| Protected Member Functions inherited from facePointPatch | |
| facePointPatch (const facePointPatch &)=delete | |
| No copy construct. | |
| void | operator= (const facePointPatch &)=delete |
| No copy assignment. | |
| Protected Member Functions inherited from pointPatch | |
| pointPatch (const pointPatch &)=delete | |
| No copy construct. | |
| void | operator= (const pointPatch &)=delete |
| No copy assignment. | |
| Protected Member Functions inherited from coupledPointPatch | |
| coupledPointPatch (const coupledPointPatch &)=delete | |
| No copy construct. | |
| void | operator= (const coupledPointPatch &)=delete |
| No copy assignment. | |
| Protected Attributes inherited from facePointPatch | |
| const polyPatch & | polyPatch_ |
| Reference to the underlying polyPatch. | |
Processor patch boundary needs to be such that the ordering of points in the patch is the same on both sides.
Looking at the creation of the faces on both sides of the processor patch they need to be identical on both sides with the normals pointing in opposite directions. This is achieved by calling the reverseFace function in the decomposition. It is therefore possible to re-create the ordering of patch points on the neighbour side by reversing all the patch faces of the owner.
Definition at line 55 of file processorCyclicPointPatch.H.
| processorCyclicPointPatch | ( | const polyPatch & | patch, |
| const pointBoundaryMesh & | bm ) |
Construct from components.
Definition at line 44 of file processorCyclicPointPatch.C.
References facePointPatch::patch(), and Foam::refCast().

| processorCyclicPointPatch | ( | const processorCyclicPointPatch & | patch, |
| const pointBoundaryMesh & | bm, | ||
| const label | index, | ||
| const labelUList & | mapAddressing, | ||
| const labelUList & | reversePointMap ) |
Construct given the original patch and a map.
Definition at line 55 of file processorCyclicPointPatch.C.
References facePointPatch::index(), facePointPatch::patch(), and Foam::refCast().

|
virtual |
Destructor.
Definition at line 71 of file processorCyclicPointPatch.C.
| TypeName | ( | processorCyclicPolyPatch::typeName_() | ) |
Runtime type information.
References facePointPatch::index(), and facePointPatch::patch().

|
inlinevirtual |
Construct and return a subset clone, resetting the point list and boundary mesh.
Reimplemented from processorPointPatch.
Definition at line 111 of file processorCyclicPointPatch.H.
References facePointPatch::index(), and autoPtr< T >::NewFrom().

|
inlinevirtual |
Return message tag to use for communication.
Reimplemented from processorPointPatch.
Definition at line 141 of file processorCyclicPointPatch.H.
|
inline |
Return the underlying processorCyclicPolyPatch.
Definition at line 149 of file processorCyclicPointPatch.H.