Determines length of string of edges walked to point. More...
Public Member Functions | |
pointEdgeCollapse () | |
Construct null. More... | |
pointEdgeCollapse (const point &collapsePoint, const label collapseIndex, const label collapsePriority) | |
Construct from components. More... | |
const point & | collapsePoint () const |
label | collapseIndex () const |
label | collapsePriority () const |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Check whether origin has been changed at all or. More... | |
template<class TrackingData > | |
void | leaveDomain (const polyPatch &patch, const label patchPointI, const point &pos, TrackingData &td) |
Convert origin to relative vector to leaving point. More... | |
template<class TrackingData > | |
void | enterDomain (const polyPatch &patch, const label patchPointI, const point &pos, TrackingData &td) |
Convert relative origin to absolute by adding entering point. More... | |
template<class TrackingData > | |
void | transform (const tensor &rotTensor, TrackingData &td) |
Apply rotation matrix to origin. More... | |
template<class TrackingData > | |
bool | updatePoint (const polyMesh &mesh, const label pointI, const label edgeI, const pointEdgeCollapse &edgeInfo, const scalar tol, TrackingData &td) |
Influence of edge on point. More... | |
template<class TrackingData > | |
bool | updatePoint (const polyMesh &mesh, const label pointI, const pointEdgeCollapse &newPointInfo, const scalar tol, TrackingData &td) |
Influence of different value on same point. More... | |
template<class TrackingData > | |
bool | updatePoint (const pointEdgeCollapse &newPointInfo, const scalar tol, TrackingData &td) |
Influence of different value on same point. More... | |
template<class TrackingData > | |
bool | updateEdge (const polyMesh &mesh, const label edgeI, const label pointI, const pointEdgeCollapse &pointInfo, const scalar tol, TrackingData &td) |
Influence of point on edge. More... | |
template<class TrackingData > | |
bool | equal (const pointEdgeCollapse &, TrackingData &) const |
Same (like operator==) More... | |
bool | operator== (const pointEdgeCollapse &) const |
bool | operator!= (const pointEdgeCollapse &) const |
Private Member Functions | |
template<class TrackingData > | |
bool | update (const pointEdgeCollapse &w2, const scalar tol, TrackingData &td) |
Evaluate distance to point. More... | |
bool | samePoint (const point &pt) const |
Check for same coordinate. More... | |
Private Attributes | |
point | collapsePoint_ |
Collapse location. More... | |
label | collapseIndex_ |
Collapse string index. More... | |
label | collapsePriority_ |
Priority of the collapse. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const pointEdgeCollapse &) |
Istream & | operator>> (Istream &, pointEdgeCollapse &) |
Determines length of string of edges walked to point.
Definition at line 54 of file pointEdgeCollapse.H.
|
inline |
Construct null.
Definition at line 104 of file pointEdgeCollapseI.H.
|
inline |
Construct from components.
Definition at line 114 of file pointEdgeCollapseI.H.
|
inlineprivate |
Evaluate distance to point.
Definition at line 34 of file pointEdgeCollapseI.H.
References Foam::abort(), pointEdgeCollapse::collapseIndex_, pointEdgeCollapse::collapsePoint_, pointEdgeCollapse::collapsePriority_, Foam::FatalError, FatalErrorInFunction, Foam::magSqr(), and pointEdgeCollapse::valid().
|
inlineprivate |
Check for same coordinate.
Definition at line 146 of file pointEdgeCollapseI.H.
References Foam::cmptMin(), Foam::e, and Foam::mag().
|
inline |
Definition at line 128 of file pointEdgeCollapseI.H.
|
inline |
Definition at line 134 of file pointEdgeCollapseI.H.
Referenced by edgeCollapser::setRefinement().
|
inline |
Definition at line 140 of file pointEdgeCollapseI.H.
|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 163 of file pointEdgeCollapseI.H.
Referenced by pointEdgeCollapse::update().
|
inline |
Convert origin to relative vector to leaving point.
(= point coordinate)
Definition at line 171 of file pointEdgeCollapseI.H.
|
inline |
Convert relative origin to absolute by adding entering point.
Definition at line 197 of file pointEdgeCollapseI.H.
|
inline |
Apply rotation matrix to origin.
Definition at line 184 of file pointEdgeCollapseI.H.
References Foam::transform().
|
inline |
Influence of edge on point.
Definition at line 212 of file pointEdgeCollapseI.H.
|
inline |
Influence of different value on same point.
Merge new and old info.
Definition at line 228 of file pointEdgeCollapseI.H.
|
inline |
Influence of different value on same point.
No information about current position whatsoever.
Definition at line 243 of file pointEdgeCollapseI.H.
|
inline |
Influence of point on edge.
Definition at line 256 of file pointEdgeCollapseI.H.
|
inline |
Same (like operator==)
Definition at line 271 of file pointEdgeCollapseI.H.
References Foam::operator==().
|
inline |
Definition at line 283 of file pointEdgeCollapseI.H.
References pointEdgeCollapse::collapseIndex_, pointEdgeCollapse::collapsePoint_, and pointEdgeCollapse::collapsePriority_.
|
inline |
Definition at line 295 of file pointEdgeCollapseI.H.
|
friend |
|
friend |
|
private |
Collapse location.
Definition at line 59 of file pointEdgeCollapse.H.
Referenced by pointEdgeCollapse::operator==(), and pointEdgeCollapse::update().
|
private |
Collapse string index.
Definition at line 62 of file pointEdgeCollapse.H.
Referenced by pointEdgeCollapse::operator==(), and pointEdgeCollapse::update().
|
private |
Priority of the collapse.
Definition at line 65 of file pointEdgeCollapse.H.
Referenced by pointEdgeCollapse::operator==(), and pointEdgeCollapse::update().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.