A pointPatch based on a polyPatch. More...


Public Member Functions | |
| TypeName (polyPatch::typeName_()) | |
| Runtime type information. More... | |
| 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. More... | |
| facePointPatch (const facePointPatch &pp, const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap) | |
| Construct given the original patch and a map. More... | |
| 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. More... | |
| virtual | ~facePointPatch ()=default |
| Destructor. More... | |
| virtual const polyPatch & | patch () const |
| Return the polyPatch. More... | |
| virtual const word & | name () const |
| Return name. More... | |
| virtual label | size () const |
| Return size. More... | |
| virtual label | index () const |
| Return the index of this patch in the pointBoundaryMesh. More... | |
| virtual bool | coupled () const |
| Return true if this patch field is coupled. More... | |
| virtual const labelList & | meshPoints () const |
| Return mesh points. More... | |
| virtual const pointField & | localPoints () const |
| Return pointField of points in patch. More... | |
| virtual const vectorField & | pointNormals () const |
| Return point unit normals. More... | |
Public Member Functions inherited from pointPatch | |
| TypeName ("basePatch") | |
| Runtime type information. More... | |
| 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. More... | |
| pointPatch (const word &name, const dictionary &dict, const label index, const pointBoundaryMesh &bm) | |
| Construct from dictionary. More... | |
| pointPatch (const pointPatch &pp, const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap) | |
| Construct given the original patch and a map. More... | |
| virtual | ~pointPatch ()=default |
| Destructor. More... | |
| const pointBoundaryMesh & | boundaryMesh () const |
| Return boundaryMesh reference. More... | |
| virtual const word & | constraintType () const |
| Return the constraint type this pointPatch implements. More... | |
| virtual void | applyConstraint (const label pointi, pointConstraint &) const |
| Accumulate the effect of constraint direction of this patch. More... | |
| virtual void | write (Ostream &) const |
| Write the pointPatch data as a dictionary. More... | |
Public Member Functions inherited from patchIdentifier | |
| patchIdentifier (const patchIdentifier &)=default | |
| Copy construct. More... | |
| patchIdentifier (patchIdentifier &&)=default | |
| Move construct. More... | |
| patchIdentifier & | operator= (const patchIdentifier &)=default |
| Copy assignment. More... | |
| patchIdentifier & | operator= (patchIdentifier &&)=default |
| Move assignment. More... | |
| virtual | ~patchIdentifier ()=default |
| Destructor. More... | |
| patchIdentifier () | |
| Default construct: name="", index=0. More... | |
| patchIdentifier (const word &name, const label index) | |
| Construct from mandatory components. More... | |
| patchIdentifier (const word &name, const label index, const word &physicalType, const wordList &inGroups=wordList()) | |
| Construct from components. More... | |
| patchIdentifier (const word &name, const dictionary &dict, const label index) | |
| Construct from dictionary. More... | |
| patchIdentifier (const patchIdentifier &ident, const label newIndex) | |
| Copy construct, resetting the index (if non-negative) More... | |
| patchIdentifier (patchIdentifier &&ident, const label newIndex) | |
| Move construct, resetting the index (if non-negative) More... | |
| const word & | name () const noexcept |
| The patch name. More... | |
| word & | name () noexcept |
| Modifiable patch name. More... | |
| label | index () const noexcept |
| The index of this patch in the boundaryMesh. More... | |
| label & | index () noexcept |
| Modifiable index of this patch in the boundaryMesh. More... | |
| const word & | physicalType () const noexcept |
| The (optional) physical type of the patch. More... | |
| word & | physicalType () noexcept |
| Modifiable (optional) physical type of the patch. More... | |
| const wordList & | inGroups () const noexcept |
| The (optional) groups that the patch belongs to. More... | |
| wordList & | inGroups () noexcept |
| Modifiable (optional) groups that the patch belongs to. More... | |
| bool | inGroup (const word &name) const |
| True if given name is in a group. More... | |
| void | addGroup (const word &name) |
| Add (unique) group for the patch. More... | |
| void | removeGroup (const word &name) |
| Remove group for the patch. More... | |
| void | write (Ostream &os) const |
| Write (physicalType, inGroups) dictionary entries (without surrounding braces) More... | |
Static Public Member Functions | |
| static autoPtr< facePointPatch > | New (const polyPatch &, const pointBoundaryMesh &) |
| Return a pointer to a new patch created on freestore from polyPatch. More... | |
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. More... | |
Static Public Member Functions inherited from patchIdentifier | |
| static word | defaultName (const label n=-1) |
| Default patch name: "patch" or "patchN". More... | |
Protected Member Functions | |
| virtual void | initGeometry (PstreamBuffers &) |
| Initialise the calculation of the patch geometry. More... | |
| virtual void | calcGeometry (PstreamBuffers &) |
| Calculate the patch geometry. More... | |
| virtual void | initMovePoints (PstreamBuffers &, const pointField &) |
| Initialise the patches for moving points. More... | |
| virtual void | movePoints (PstreamBuffers &, const pointField &) |
| Correct patches after moving points. More... | |
| virtual void | initUpdateMesh (PstreamBuffers &) |
| Initialise the update of the patch topology. More... | |
| virtual void | updateMesh (PstreamBuffers &) |
| Update of the patch topology. More... | |
| facePointPatch (const facePointPatch &)=delete | |
| No copy construct. More... | |
| void | operator= (const facePointPatch &)=delete |
| No copy assignment. More... | |
Protected Member Functions inherited from pointPatch | |
| pointPatch (const pointPatch &)=delete | |
| No copy construct. More... | |
| void | operator= (const pointPatch &)=delete |
| No copy assignment. More... | |
Protected Attributes | |
| const polyPatch & | polyPatch_ |
| Reference to the underlying polyPatch. More... | |
Friends | |
| class | processorPointPatch |
| class | cyclicPointPatch |
|
protecteddelete |
No copy construct.
| facePointPatch | ( | const polyPatch & | p, |
| const pointBoundaryMesh & | pm | ||
| ) |
Construct from polyPatch and boundary mesh.
Definition at line 75 of file facePointPatch.C.
| facePointPatch | ( | const facePointPatch & | pp, |
| const pointBoundaryMesh & | bm, | ||
| const label | index, | ||
| const labelUList & | mapAddressing, | ||
| const labelUList & | reversePointMap | ||
| ) |
Construct given the original patch and a map.
Definition at line 86 of file facePointPatch.C.
|
virtualdefault |
Destructor.
|
protectedvirtual |
Initialise the calculation of the patch geometry.
Reimplemented from pointPatch.
Reimplemented in cyclicACMIPointPatch, and cyclicAMIPointPatch.
Definition at line 46 of file facePointPatch.C.
Referenced by facePointPatch::initUpdateMesh().

|
protectedvirtual |
Calculate the patch geometry.
Reimplemented from pointPatch.
Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, and coupledFacePointPatch.
Definition at line 50 of file facePointPatch.C.
|
protectedvirtual |
Initialise the patches for moving points.
Reimplemented from pointPatch.
Reimplemented in cyclicACMIPointPatch, and cyclicAMIPointPatch.
Definition at line 54 of file facePointPatch.C.
|
protectedvirtual |
Correct patches after moving points.
Reimplemented from pointPatch.
Reimplemented in cyclicACMIPointPatch, and cyclicAMIPointPatch.
Definition at line 58 of file facePointPatch.C.
|
protectedvirtual |
Initialise the update of the patch topology.
Reimplemented from pointPatch.
Reimplemented in cyclicACMIPointPatch, and cyclicAMIPointPatch.
Definition at line 62 of file facePointPatch.C.
References facePointPatch::initGeometry().
Referenced by cyclicACMIPointPatch::initUpdateMesh(), and cyclicAMIPointPatch::initUpdateMesh().


|
protectedvirtual |
Update of the patch topology.
Reimplemented from pointPatch.
Reimplemented in cyclicACMIPointPatch, and cyclicAMIPointPatch.
Definition at line 68 of file facePointPatch.C.
Referenced by cyclicACMIPointPatch::updateMesh(), and cyclicAMIPointPatch::updateMesh().

|
protecteddelete |
No copy assignment.
| TypeName | ( | polyPatch::typeName_() | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| facePointPatch | , | ||
| polyPatch | , | ||
| (const polyPatch &patch, const pointBoundaryMesh &bm) | , | ||
| (patch, bm) | |||
| ) |
|
inlinevirtual |
Construct and return a subset clone, resetting the point list and boundary mesh.
Implements pointPatch.
Reimplemented in processorPointPatch, cyclicPointPatch, processorCyclicPointPatch, symmetryPointPatch, genericPointPatch, cyclicSlipPointPatch, nonuniformTransformCyclicPointPatch, symmetryPlanePointPatch, wedgePointPatch, emptyPointPatch, and wallPointPatch.
Definition at line 165 of file facePointPatch.H.
References facePointPatch::index().

|
static |
Return a pointer to a new patch created on freestore from polyPatch.
Definition at line 27 of file facePointPatchNew.C.
References DebugInFunction, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInLookup, and Foam::foamVersion::patch.
Referenced by pointBoundaryMesh::pointBoundaryMesh().


|
inlinevirtual |
Return the polyPatch.
Definition at line 206 of file facePointPatch.H.
References facePointPatch::polyPatch_.
|
inlinevirtual |
Return name.
Definition at line 214 of file facePointPatch.H.
References patchIdentifier::name(), and facePointPatch::polyPatch_.

|
inlinevirtual |
Return size.
Implements pointPatch.
Definition at line 222 of file facePointPatch.H.
References facePointPatch::meshPoints(), and UList< T >::size().

|
inlinevirtual |
Return the index of this patch in the pointBoundaryMesh.
Definition at line 230 of file facePointPatch.H.
References patchIdentifier::index(), and facePointPatch::polyPatch_.
Referenced by emptyPointPatch::clone(), wallPointPatch::clone(), cyclicSlipPointPatch::clone(), nonuniformTransformCyclicPointPatch::clone(), symmetryPlanePointPatch::clone(), wedgePointPatch::clone(), genericPointPatch::clone(), symmetryPointPatch::clone(), processorCyclicPointPatch::clone(), cyclicPointPatch::clone(), processorPointPatch::clone(), facePointPatch::clone(), cyclicPointPatchField< Type >::swapAddSeparated(), cyclicACMIPointPatchField< Type >::swapAddSeparated(), and cyclicAMIPointPatchField< Type >::swapAddSeparated().


|
inlinevirtual |
Return true if this patch field is coupled.
Reimplemented from pointPatch.
Reimplemented in cyclicACMIPointPatch, and cyclicAMIPointPatch.
Definition at line 238 of file facePointPatch.H.
References polyPatch::coupled(), and facePointPatch::polyPatch_.

|
inlinevirtual |
Return mesh points.
Implements pointPatch.
Definition at line 246 of file facePointPatch.H.
References PrimitivePatch< FaceList, PointField >::meshPoints(), and facePointPatch::polyPatch_.
Referenced by facePointPatch::size().


|
inlinevirtual |
Return pointField of points in patch.
Implements pointPatch.
Definition at line 254 of file facePointPatch.H.
References PrimitivePatch< FaceList, PointField >::localPoints(), and facePointPatch::polyPatch_.

|
inlinevirtual |
Return point unit normals.
Implements pointPatch.
Reimplemented in cyclicSlipPointPatch, and nonuniformTransformCyclicPointPatch.
Definition at line 262 of file facePointPatch.H.
References PrimitivePatch< FaceList, PointField >::pointNormals(), and facePointPatch::polyPatch_.
Referenced by cyclicSlipPointPatch::pointNormals(), and nonuniformTransformCyclicPointPatch::pointNormals().


|
friend |
Definition at line 115 of file facePointPatch.H.
|
friend |
Definition at line 116 of file facePointPatch.H.
|
protected |
Reference to the underlying polyPatch.
Definition at line 64 of file facePointPatch.H.
Referenced by facePointPatch::coupled(), facePointPatch::index(), facePointPatch::localPoints(), facePointPatch::meshPoints(), facePointPatch::name(), facePointPatch::patch(), and facePointPatch::pointNormals().