41#ifndef meshPointPatch_H
42#define meshPointPatch_H
67 meshPointPatch(
const meshPointPatch&) =
delete;
70 void operator=(
const meshPointPatch&) =
delete;
115 const word& patchType
126 const word& patchType
136 const word& patchType
142 const meshPointPatch&
pp,
177 virtual label
size()
const
189 virtual const List<pointConstraint>&
constraints()
const
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Buffers for inter-processor communications streams (UOPstream, UIPstream).
void size(const label n)
Older name for setAddressableSize.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< T > NewFrom(Args &&... args)
Construct autoPtr from derived type with forwarding arguments.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual const pointField & localPoints() const
Return pointField of points in patch.
virtual label size() const
Return size.
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
autoPtr< pointField > localPointsPtr_
Demand-driven local points.
autoPtr< pointField > pointNormalsPtr_
Demand-driven local normals (assumes constructed with pointNormals.
virtual const List< pointConstraint > & constraints() const
Return constraints.
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 ~meshPointPatch()=default
Destructor.
const List< pointConstraint > constraints_
virtual const labelList & meshPoints() const
Return mesh points.
virtual void movePoints(PstreamBuffers &, const pointField &)
Correct patches after moving points.
const labelList meshPoints_
Explicit mesh points.
virtual const vectorField & pointNormals() const
Return point unit normals. Assumes single constraint.
TypeName("meshPoint")
Runtime type information.
label index() const noexcept
The index of this patch in the boundaryMesh.
friend class pointBoundaryMesh
pointPatch(const pointPatch &)=delete
No copy construct.
A class for handling words, derived from Foam::string.
List< label > labelList
A List of labels.
Field< vector > vectorField
Specialisation of Field<T> for vector.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
vectorField pointField
pointField is a vectorField.
UList< label > labelUList
A UList of labels.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.