Go to the documentation of this file.
40 #ifndef polyDualMesh_H
41 #define polyDualMesh_H
91 const label patchToDualOffset,
102 const label patchToDualOffset,
106 const label startEdgeI,
130 const label patchToDualOffset,
183 const scalar featureCos
191 const scalar featureCos,
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const labelIOList & cellPoint() const
From polyMesh cell to dual point.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
const labelIOList & boundaryFacePoint() const
From polyMesh patch face to dual point.
const cellList & cells() const
static labelList collectPatchSideFace(const polyPatch &patch, const label patchToDualOffset, const labelList &edgeToDualPoint, const labelList &pointToDualPoint, const label pointI, label &edgeI)
Mesh consisting of general polyhedral cells.
ClassName("polyDualMesh")
Runtime type information.
void calcDual(const polyMesh &mesh, const labelList &featureEdges, const labelList &featurePoints)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static void dualPatch(const polyPatch &patch, const label patchToDualOffset, const labelList &edgeToDualPoint, const labelList &pointToDualPoint, const pointField &dualPoints, DynamicList< face > &dualFaces, DynamicList< label > &dualOwner, DynamicList< label > &dualNeighbour, DynamicList< label > &dualRegion)
Pre-declare SubField and related Field type.
A patch is a list of labels that address the faces in the global face list.
virtual const labelList & faceOwner() const
Return face owner.
Creates dual of polyMesh.
labelIOList cellPoint_
From polyMesh cell to my point.
static void collectPatchInternalFace(const polyPatch &patch, const label patchToDualOffset, const labelList &edgeToDualPoint, const label pointI, const label startEdgeI, labelList &dualFace2, labelList &featEdgeIndices2)
label nInternalFaces() const
polyDualMesh(const polyDualMesh &)
Disallow default bitwise copy construct.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static void calcFeatures(const polyMesh &, const scalar featureCos, labelList &featureEdges, labelList &featurePoints)
Helper function to create feature edges and points based on.
~polyDualMesh()
Destructor.
labelIOList boundaryFacePoint_
From polyMesh boundary face (face-mesh.nInternalFaces()) to my point.
static void getPointEdges(const primitivePatch &patch, const label faceI, const label pointI, label &e0, label &e1)
void operator=(const polyDualMesh &)
Disallow default bitwise assignment.
static void splitFace(const polyPatch &patch, const labelList &pointToDualPoint, const label pointI, const labelList &dualFace, const labelList &featEdgeIndices, DynamicList< face > &dualFaces, DynamicList< label > &dualOwner, DynamicList< label > &dualNeighbour, DynamicList< label > &dualRegion)
static labelList getFaceOrder(const labelList &faceOwner, const labelList &faceNeighbour, const cellList &cells, label &nInternalFaces)
virtual const labelList & faceNeighbour() const
Return face neighbour.
A list of faces which address into the list of points.