41 #ifndef meshPointPatch_H 42 #define meshPointPatch_H 115 const word& patchType
126 const word& patchType
136 const word& patchType
177 virtual label
size()
const 189 virtual const List<pointConstraint>&
constraints()
const 201 virtual void write(Ostream&)
const;
virtual ~meshPointPatch()=default
Destructor.
void size(const label n)
Older name for setAddressableSize.
pointPatch with explicitly provided points instead of using the points of a polyPatch.
A pointBoundaryMesh is a pointPatch list with registered IO, a reference to the associated pointMesh...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual const labelList & meshPoints() const
Return mesh points.
virtual void movePoints(PstreamBuffers &, const pointField &)
Correct patches after moving points.
virtual label size() const
Return size.
TypeName("meshPoint")
Runtime type information.
vectorField pointField
pointField is a vectorField.
virtual const pointField & localPoints() const
Return pointField of points in patch.
A class for handling words, derived from Foam::string.
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 const vectorField & pointNormals() const
Return point unit normals. Assumes single constraint.
virtual const List< pointConstraint > & constraints() const
Return constraints.
const word & name() const noexcept
The patch name.
virtual void write(Ostream &) const
Write the pointPatch data as a dictionary.
autoPtr< pointField > pointNormalsPtr_
Demand-driven local normals (assumes constructed with pointNormals.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
Basic pointPatch represents a set of points from the mesh.
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
const labelList meshPoints_
Explicit mesh points.
Field< vector > vectorField
Specialisation of Field<T> for vector.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
label index() const noexcept
The index of this patch in the boundaryMesh.
autoPtr< pointField > localPointsPtr_
Demand-driven local points.
const List< pointConstraint > constraints_
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())