For use with FaceCellWave. Determines topological distance to starting faces. More...
Public Member Functions | |
topoDistanceData () | |
Construct null. More... | |
topoDistanceData (const label data, const label distance) | |
Construct from count. More... | |
label | data () const |
label | distance () const |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Check whether origin has been changed at all or. More... | |
template<class TrackingData > | |
bool | sameGeometry (const polyMesh &, const topoDistanceData &, const scalar, TrackingData &td) const |
Check for identical geometrical data. Used for cyclics checking. More... | |
template<class TrackingData > | |
void | leaveDomain (const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre, TrackingData &td) |
Convert any absolute coordinates into relative to (patch)face. More... | |
template<class TrackingData > | |
void | enterDomain (const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre, TrackingData &td) |
Reverse of leaveDomain. More... | |
template<class TrackingData > | |
void | transform (const polyMesh &, const tensor &, TrackingData &td) |
Apply rotation matrix to any coordinates. More... | |
template<class TrackingData > | |
bool | updateCell (const polyMesh &, const label thisCellI, const label neighbourFaceI, const topoDistanceData &neighbourInfo, const scalar tol, TrackingData &td) |
Influence of neighbouring face. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &, const label thisFaceI, const label neighbourCellI, const topoDistanceData &neighbourInfo, const scalar tol, TrackingData &td) |
Influence of neighbouring cell. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &, const label thisFaceI, const topoDistanceData &neighbourInfo, const scalar tol, TrackingData &td) |
Influence of different value on same face. More... | |
template<class TrackingData > | |
bool | equal (const topoDistanceData &, TrackingData &td) const |
Same (like operator==) More... | |
bool | operator== (const topoDistanceData &) const |
bool | operator!= (const topoDistanceData &) const |
Private Attributes | |
label | data_ |
Starting data. More... | |
label | distance_ |
Distance. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const topoDistanceData &) |
Istream & | operator>> (Istream &, topoDistanceData &) |
For use with FaceCellWave. Determines topological distance to starting faces.
Definition at line 53 of file topoDistanceData.H.
|
inline |
Construct null.
Definition at line 34 of file topoDistanceDataI.H.
|
inline |
Construct from count.
Definition at line 43 of file topoDistanceDataI.H.
Definition at line 84 of file topoDistanceData.H.
References topoDistanceData::data_.
Referenced by topoDistanceData::operator==().
|
inline |
Definition at line 88 of file topoDistanceData.H.
References topoDistanceData::distance_.
Referenced by topoDistanceData::operator==().
|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 56 of file topoDistanceDataI.H.
|
inline |
Check for identical geometrical data. Used for cyclics checking.
Definition at line 65 of file topoDistanceDataI.H.
|
inline |
Convert any absolute coordinates into relative to (patch)face.
centre
Definition at line 79 of file topoDistanceDataI.H.
|
inline |
Reverse of leaveDomain.
Definition at line 103 of file topoDistanceDataI.H.
Apply rotation matrix to any coordinates.
Definition at line 92 of file topoDistanceDataI.H.
|
inline |
Influence of neighbouring face.
Definition at line 116 of file topoDistanceDataI.H.
|
inline |
Influence of neighbouring cell.
Definition at line 140 of file topoDistanceDataI.H.
References topoDistanceData::data_, and topoDistanceData::distance_.
|
inline |
Influence of different value on same face.
Definition at line 167 of file topoDistanceDataI.H.
|
inline |
Same (like operator==)
Definition at line 190 of file topoDistanceDataI.H.
References Foam::operator==().
|
inline |
Definition at line 202 of file topoDistanceDataI.H.
References topoDistanceData::data(), Foam::distance(), and topoDistanceData::distance().
|
inline |
Definition at line 211 of file topoDistanceDataI.H.
|
friend |
|
friend |
|
private |
Starting data.
Definition at line 58 of file topoDistanceData.H.
Referenced by topoDistanceData::data(), and topoDistanceData::updateFace().
|
private |
Distance.
Definition at line 61 of file topoDistanceData.H.
Referenced by topoDistanceData::distance(), and topoDistanceData::updateFace().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.