![]() |
|
Public Types | |
enum | surfaceTopo { MANIFOLD, OPEN, ILLEGAL } |
Enumeration defining the surface type. Used in check routines. More... | |
Public Member Functions | |
PrimitivePatch (const FaceList< Face > &faces, const pointField &points) | |
Construct from components. | |
PrimitivePatch (const PrimitivePatch< Face, FaceList, PointField > &) | |
Construct as copy. | |
virtual | ~PrimitivePatch () |
void | clearOut () |
void | clearGeom () |
void | clearTopology () |
void | clearPatchMeshAddr () |
const pointField & | points () const |
Return reference to global points. | |
label | nPoints () const |
Return number of points supporting patch faces. | |
label | nEdges () const |
Return number of edges in patch. | |
const edgeList & | edges () const |
Return list of edges, address into LOCAL point list. | |
label | nInternalEdges () const |
Number of internal edges. | |
bool | isInternalEdge (const label edgeI) const |
Is internal edge? | |
const labelList & | boundaryPoints () const |
Return list of boundary points,. | |
const labelListList & | faceFaces () const |
Return face-face addressing. | |
const labelListList & | edgeFaces () const |
Return edge-face addressing. | |
const labelListList & | faceEdges () const |
Return face-edge addressing. | |
const labelListList & | pointEdges () const |
Return point-edge addressing. | |
const labelListList & | pointFaces () const |
Return point-face addressing. | |
const List< Face > & | localFaces () const |
Return patch faces addressing into local point list. | |
const labelList & | meshPoints () const |
Return labelList of mesh points in patch. | |
const Map< label > & | meshPointMap () const |
Mesh point map. Given the global point index find its. | |
const pointField & | localPoints () const |
Return pointField of points in patch. | |
const labelList & | localPointOrder () const |
Return orders the local points for most efficient search. | |
label | whichPoint (const label gp) const |
Given a global point index, return the local point. | |
label | whichEdge (const edge &e) const |
Given an edge in local point labels, return its. | |
labelList | meshEdges (const edgeList &allEdges, const labelListList &cellEdges, const labelList &faceCells) const |
Return labels of patch edges in the global edge list. | |
const vectorField & | faceNormals () const |
Return face normals for patch. | |
const vectorField & | pointNormals () const |
Return point normals for patch. | |
template<class ToPatch> | |
List< objectHit > | projectPoints (const ToPatch &targetPatch, const vectorField &projectionDirection, const intersection::algorithm alg=intersection::FULL_RAY, const intersection::direction dir=intersection::VECTOR) const |
Project vertices of patch onto another patch. | |
template<class ToPatch> | |
List< objectHit > | projectFaceCentres (const ToPatch &targetPatch, const vectorField &projectionDirection, const intersection::algorithm alg=intersection::FULL_RAY, const intersection::direction dir=intersection::VECTOR) const |
Project vertices of patch onto another patch. | |
const labelListList & | edgeLoops () const |
Return list of closed loops of boundary vertices. | |
surfaceTopo | surfaceType () const |
Calculate surface type formed by patch. | |
bool | checkTopology (const bool report=false, labelHashSet *setPtr=NULL) const |
Check surface formed by patch for manifoldness (see above). | |
bool | checkPointManifold (const bool report=false, labelHashSet *setPtr=NULL) const |
Checks primitivePatch for faces sharing point but not edge. | |
virtual void | movePoints (const pointField &) |
Correct patch after moving points. | |
void | operator= (const PrimitivePatch< Face, FaceList, PointField > &) |
Assignment. |
|
Enumeration defining the surface type. Used in check routines.
Definition at line 101 of file PrimitivePatch.H. |
|
Construct from components.
|
|
Construct as copy.
|
|
|
|
Return list of boundary points,. address into LOCAL point list |
|
Checks primitivePatch for faces sharing point but not edge. This denotes a surface that is pinched at a single point (test for pinched at single edge is already in PrimitivePatch) Returns true if this situation found and puts conflicting (mesh)point in set. Based on all the checking routines in primitiveMesh. |
|
Check surface formed by patch for manifoldness (see above). Insert vertices of incorrect edges set. Return true if any incorrect edge found. |
|
|
|
Reimplemented in triSurface. |
|
Reimplemented in triSurface. |
|
Reimplemented in triSurface. |
|
Return edge-face addressing.
|
|
Return list of closed loops of boundary vertices. Edge loops are given as ordered lists of vertices in local addressing |
|
Return list of edges, address into LOCAL point list.
|
|
Return face-edge addressing.
|
|
Return face-face addressing.
|
|
Return face normals for patch.
|
|
Is internal edge?
Definition at line 289 of file PrimitivePatch.H. |
|
Return patch faces addressing into local point list.
|
|
Return orders the local points for most efficient search.
|
|
Return pointField of points in patch.
|
|
Return labels of patch edges in the global edge list.
|
|
Mesh point map. Given the global point index find its. location in the patch |
|
Return labelList of mesh points in patch.
|
|
Correct patch after moving points.
Reimplemented in coupledPolyPatch, cyclicPolyPatch, processorPolyPatch, polyPatch, and triSurface. |
|
Return number of edges in patch.
Definition at line 277 of file PrimitivePatch.H. |
|
Number of internal edges.
|
|
Return number of points supporting patch faces.
Definition at line 271 of file PrimitivePatch.H. |
|
Assignment.
|
|
Return point-edge addressing.
|
|
Return point-face addressing.
|
|
Return point normals for patch.
|
|
Return reference to global points.
Definition at line 260 of file PrimitivePatch.H. |
|
Project vertices of patch onto another patch.
|
|
Project vertices of patch onto another patch.
|
|
Calculate surface type formed by patch.
|
|
Given an edge in local point labels, return its. index in the edge list. If the edge is not found, return -1 |
|
Given a global point index, return the local point. index. If the point is not found, return -1 |