|
|
|
PointEdgeWave Class Template ReferenceCollaboration diagram for PointEdgeWave:![]() Detailed Descriptiontemplate<class Type>
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| PointEdgeWave (const pointMesh &pMesh, const labelList &initialPoints, const List< Type > &initialPointsInfo, List< Type > &allPointInfo, List< Type > &allEdgeInfo, const label maxIter) | |
| Construct from mesh, list of changed points with the Type. | |
| ~PointEdgeWave () | |
| const List< Type > & | allPointInfo () const |
| Get allPointInfo. | |
| const List< Type > & | allEdgeInfo () const |
| Get allEdgeInfo. | |
| label | getUnsetEdges () const |
| Get number of unvisited edges, i.e. edges that were not (yet). | |
| label | getUnsetPoints () const |
| void | setPointInfo (const labelList &changedPoints, const List< Type > &changedPointsInfo) |
| Copy initial data into allPointInfo_. | |
| label | pointToEdge () |
| Propagate from point to edge. Returns total number of edges. | |
| label | edgeToPoint () |
| Propagate from edge to point. Returns total number of points. | |
| label | iterate (const label maxIter) |
| Iterate until no changes or maxIter reached. Returns actual. | |
Static Public Member Functions | |
| static scalar | propagationTol () |
| Access to tolerance. | |
| static void | setPropagationTol (const scalar tol) |
| Change tolerance. | |
| PointEdgeWave | ( | const pointMesh & | pMesh, | |
| const labelList & | initialPoints, | |||
| const List< Type > & | initialPointsInfo, | |||
| List< Type > & | allPointInfo, | |||
| List< Type > & | allEdgeInfo, | |||
| const label | maxIter | |||
| ) |
Construct from mesh, list of changed points with the Type.
for these points. Gets work arrays to operate on, one of size number of mesh points, the other number of mesh edges. Iterates until nothing changes or maxIter reached. (maxIter can be 0)
| ~PointEdgeWave | ( | ) |
| static scalar propagationTol | ( | ) | [inline, static] |
| static void setPropagationTol | ( | const scalar | tol | ) | [inline, static] |
| label getUnsetEdges | ( | ) | const |
Get number of unvisited edges, i.e. edges that were not (yet).
reached from walking across mesh. This can happen from
| label getUnsetPoints | ( | ) | const |
Copy initial data into allPointInfo_.
| label pointToEdge | ( | ) |
Propagate from point to edge. Returns total number of edges.
(over all processors) changed.
| label edgeToPoint | ( | ) |
Propagate from edge to point. Returns total number of points.
(over all processors) changed.
Iterate until no changes or maxIter reached. Returns actual.
number of iterations.