37#ifndef Foam_wedgePolyPatch_H
38#define Foam_wedgePolyPatch_H
100 const word& patchType
110 const word& patchType
161 virtual autoPtr<polyPatch>
clone
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
Buffers for inter-processor communications streams (UOPstream, UIPstream).
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
label index() const noexcept
The index of this patch in the boundaryMesh.
A polyBoundaryMesh is a polyPatch list with registered IO, a reference to the associated polyMesh,...
friend class polyBoundaryMesh
polyPatch(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType)
Construct from components.
label start() const noexcept
Return start label of this patch in the polyMesh face list.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
virtual autoPtr< polyPatch > clone(const polyBoundaryMesh &bm) const
Construct and return a clone, resetting the boundary mesh.
virtual void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
const vector & axis() const noexcept
Return axis of the wedge.
virtual autoPtr< polyPatch > clone(const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart) const
Construct and return a clone, resetting the face list.
wedgePolyPatch(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType)
Construct from components.
const tensor & cellT() const noexcept
Return neighbour-cell transformation tensor.
const vector & n() const noexcept
Return the normal to the patch.
const tensor & faceT() const noexcept
Return face transformation tensor.
virtual autoPtr< polyPatch > clone(const polyBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const label newStart) const
Construct and return a clone, resetting the face list.
scalar cosAngle() const noexcept
Return the cosine of the wedge angle.
TypeName("wedge")
Runtime type information.
const vector & centreNormal() const noexcept
Return plane normal between the wedge boundaries.
A class for handling words, derived from Foam::string.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
UList< label > labelUList
A UList of labels.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.