pointPatch with explicitly provided points instead of using the points of a polyPatch. More...


Public Member Functions | |
| TypeName ("meshPoint") | |
| Runtime type information. More... | |
| meshPointPatch (const word &name, const labelUList &meshPoints, const List< pointConstraint > &constraints, const label index, const pointBoundaryMesh &bm, const word &patchType) | |
| Construct from components. More... | |
| meshPointPatch (const word &name, const labelUList &meshPoints, const vectorField &pointNormals, const label index, const pointBoundaryMesh &bm, const word &patchType) | |
| Construct from single-constraint (i.e. slip, provided normals) More... | |
| meshPointPatch (const word &name, const dictionary &dict, const label index, const pointBoundaryMesh &bm, const word &patchType) | |
| Construct from dictionary. More... | |
| meshPointPatch (const meshPointPatch &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 | ~meshPointPatch ()=default |
| Destructor. More... | |
| virtual label | size () const |
| Return size. More... | |
| virtual const labelList & | meshPoints () const |
| Return mesh points. More... | |
| virtual const List< pointConstraint > & | constraints () const |
| Return constraints. More... | |
| virtual const pointField & | localPoints () const |
| Return pointField of points in patch. More... | |
| virtual const vectorField & | pointNormals () const |
| Return point unit normals. Assumes single constraint. More... | |
| virtual void | write (Ostream &) const |
| Write the pointPatch data as a dictionary. 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 bool | coupled () const |
| Return true if this patch field is coupled. 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... | |
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... | |
Protected Member Functions | |
| virtual void | movePoints (PstreamBuffers &, const pointField &) |
| Correct patches after moving points. More... | |
| virtual void | updateMesh (PstreamBuffers &) |
| Update of the patch topology. More... | |
Protected Member Functions inherited from pointPatch | |
| 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 | initUpdateMesh (PstreamBuffers &) |
| Initialise the update of the patch topology. More... | |
| pointPatch (const pointPatch &)=delete | |
| No copy construct. More... | |
| void | operator= (const pointPatch &)=delete |
| No copy assignment. More... | |
Protected Attributes | |
| const labelList | meshPoints_ |
| Explicit mesh points. More... | |
| const List< pointConstraint > | constraints_ |
| autoPtr< pointField > | localPointsPtr_ |
| Demand-driven local points. More... | |
| autoPtr< pointField > | pointNormalsPtr_ |
| Demand-driven local normals (assumes constructed with pointNormals. More... | |
Additional Inherited Members | |
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... | |
pointPatch with explicitly provided points instead of using the points of a polyPatch.
Note: does not constrain displacement - is not a constraint patch.
Definition at line 53 of file meshPointPatch.H.
| meshPointPatch | ( | const word & | name, |
| const labelUList & | meshPoints, | ||
| const List< pointConstraint > & | constraints, | ||
| const label | index, | ||
| const pointBoundaryMesh & | bm, | ||
| const word & | patchType | ||
| ) |
Construct from components.
Definition at line 66 of file meshPointPatch.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and name.

| meshPointPatch | ( | const word & | name, |
| const labelUList & | meshPoints, | ||
| const vectorField & | pointNormals, | ||
| const label | index, | ||
| const pointBoundaryMesh & | bm, | ||
| const word & | patchType | ||
| ) |
Construct from single-constraint (i.e. slip, provided normals)
Definition at line 90 of file meshPointPatch.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, name, and UList< T >::size().

| meshPointPatch | ( | const word & | name, |
| const dictionary & | dict, | ||
| const label | index, | ||
| const pointBoundaryMesh & | bm, | ||
| const word & | patchType | ||
| ) |
Construct from dictionary.
Definition at line 114 of file meshPointPatch.C.
| meshPointPatch | ( | const meshPointPatch & | pp, |
| const pointBoundaryMesh & | bm, | ||
| const label | index, | ||
| const labelUList & | mapAddressing, | ||
| const labelUList & | reversePointMap | ||
| ) |
Construct given the original patch and a map.
Definition at line 129 of file meshPointPatch.C.
|
virtualdefault |
Destructor.
|
protectedvirtual |
Correct patches after moving points.
Reimplemented from pointPatch.
Definition at line 151 of file meshPointPatch.C.
References meshPointPatch::localPointsPtr_.
|
protectedvirtual |
Update of the patch topology.
Reimplemented from pointPatch.
Definition at line 174 of file meshPointPatch.C.
| TypeName | ( | "meshPoint" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a subset clone, resetting the point list and boundary mesh.
Implements pointPatch.
Definition at line 174 of file meshPointPatch.H.
References patchIdentifier::index().

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

|
inlinevirtual |
Return mesh points.
Implements pointPatch.
Definition at line 211 of file meshPointPatch.H.
References meshPointPatch::meshPoints_.
Referenced by meshPointPatch::size().

|
inlinevirtual |
Return constraints.
Definition at line 219 of file meshPointPatch.H.
References meshPointPatch::constraints_.
|
virtual |
Return pointField of points in patch.
Implements pointPatch.
Definition at line 182 of file meshPointPatch.C.
|
virtual |
Return point unit normals. Assumes single constraint.
Implements pointPatch.
Definition at line 199 of file meshPointPatch.C.
References forAll.
|
virtual |
Write the pointPatch data as a dictionary.
Reimplemented from pointPatch.
Definition at line 214 of file meshPointPatch.C.
References pointPatch::write(), and UList< T >::writeEntry().

|
protected |
Explicit mesh points.
Definition at line 79 of file meshPointPatch.H.
Referenced by meshPointPatch::meshPoints().
|
protected |
Definition at line 81 of file meshPointPatch.H.
Referenced by meshPointPatch::constraints().
|
mutableprotected |
Demand-driven local points.
Definition at line 86 of file meshPointPatch.H.
Referenced by meshPointPatch::movePoints().
|
mutableprotected |
Demand-driven local normals (assumes constructed with pointNormals.
or normal-only-constraint)
Definition at line 93 of file meshPointPatch.H.