|
|
|
cellMatcher Class ReferenceInheritance diagram for cellMatcher:![]() ![]() Detailed Description
Definition at line 107 of file cellMatcher.H.
Constructor & Destructor Documentation
Construct given mesh and shape factors.
Definition at line 220 of file cellMatcher.H.
Member Function Documentation
Step along face either in righthand or lefthand direction.
Definition at line 123 of file cellMatcherI.H. Calculates localFaces. Returns number of local vertices (or -1. if more than vertPerCell).
Fill edge (start, end) to face number.
Fill vertex/face to index in face data structure.
Given start,end of edge lookup both faces sharing it and return. face != localFaceI
Definition at line 91 of file cellMatcherI.H. References cellMatcher::cellModelName_, cellMatcher::cellModelPtr_, and cellModeller::lookup(). Here is the call graph for this function: ![]()
Definition at line 97 of file cellMatcherI.H.
Implemented in hexMatcher, prismMatcher, pyrMatcher, tetMatcher, tetWedgeMatcher, and wedgeMatcher.
Implemented in hexMatcher, prismMatcher, pyrMatcher, tetMatcher, tetWedgeMatcher, and wedgeMatcher.
Implemented in hexMatcher, prismMatcher, pyrMatcher, tetMatcher, tetWedgeMatcher, and wedgeMatcher.
Hash value of all face sizes of this shape. Can be used for. quick initial recognition. Implemented in hexMatcher, prismMatcher, pyrMatcher, tetMatcher, tetWedgeMatcher, and wedgeMatcher. Check whether number of face sizes match the shape.
Implemented in hexMatcher, prismMatcher, pyrMatcher, tetMatcher, tetWedgeMatcher, and wedgeMatcher.
Low level shape recognition. Return true if matches. Works in detection mode only (checkOnly=true) or in exact matching. Returns true and sets vertLabels_. Needs faces, faceOwner of all faces in 'mesh' and cell number and labels of faces for this cell. cellI only used in combination with faceOwner to detect owner status. Implemented in hexMatcher, prismMatcher, pyrMatcher, tetMatcher, tetWedgeMatcher, and wedgeMatcher.
Exact match. Uses faceSizeMatch. Returns true if cell matches shape exactly. Implemented in hexMatcher, prismMatcher, pyrMatcher, tetMatcher, tetWedgeMatcher, and wedgeMatcher.
Exact match given all the faces forming a cell. No checks. on whether faces match up and form a closed shape. Implemented in hexMatcher, prismMatcher, pyrMatcher, tetMatcher, tetWedgeMatcher, and wedgeMatcher.
Like isA but also constructs a cellShape (if shape matches).
Implemented in hexMatcher, prismMatcher, pyrMatcher, tetMatcher, tetWedgeMatcher, and wedgeMatcher.
Member Data Documentation
Definition at line 127 of file cellMatcher.H.
Faces using local vertex numbering.
Definition at line 130 of file cellMatcher.H. Referenced by cellMatcher::localPoint(). Number of vertices per face in localFaces_.
Definition at line 133 of file cellMatcher.H. Referenced by cellMatcher::localFaces(). Map from local to mesh vertex numbering.
Definition at line 136 of file cellMatcher.H. Referenced by cellMatcher::faceSize(). Map from local to mesh face numbering.
Definition at line 139 of file cellMatcher.H. Referenced by cellMatcher::pointMap().
Map from 'edge' to neighbouring faces.
Definition at line 142 of file cellMatcher.H. Referenced by cellMatcher::faceMap().
pointFaceIndex[localVertI][localFaceI] is index in localFace where localVertI is. Definition at line 148 of file cellMatcher.H. Referenced by cellMatcher::edgeFaces().
After matching: holds mesh vertices in cellmodel order.
Definition at line 151 of file cellMatcher.H. Referenced by cellMatcher::pointFaceIndex().
After matching: holds mesh faces in cellmodel order.
Definition at line 154 of file cellMatcher.H. Referenced by cellMatcher::vertLabels().
CellModel name.
Definition at line 157 of file cellMatcher.H. Referenced by cellMatcher::faceLabels().
The documentation for this class was generated from the following files:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||