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... | |
| 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... | |
| pointPatch (const pointBoundaryMesh &bm) | |
| Construct from boundary mesh. 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... | |
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... | |
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.
|
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) | |||
| ) |
|
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.

|
inlinevirtual |
Return the polyPatch.
Definition at line 172 of file facePointPatch.H.
References facePointPatch::polyPatch_.
|
inlinevirtual |
Return name.
Implements pointPatch.
Definition at line 180 of file facePointPatch.H.
References patchIdentifier::name(), and facePointPatch::polyPatch_.

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

|
inlinevirtual |
Return the index of this patch in the pointBoundaryMesh.
Implements pointPatch.
Definition at line 196 of file facePointPatch.H.
References patchIdentifier::index(), and facePointPatch::polyPatch_.
Referenced by 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 204 of file facePointPatch.H.
References polyPatch::coupled(), and facePointPatch::polyPatch_.

|
inlinevirtual |
Return mesh points.
Implements pointPatch.
Definition at line 212 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 220 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 228 of file facePointPatch.H.
References PrimitivePatch< FaceList, PointField >::pointNormals(), and facePointPatch::polyPatch_.
Referenced by nonuniformTransformCyclicPointPatch::pointNormals(), and cyclicSlipPointPatch::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().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.