For use with FaceCellWave. Determines topological distance to starting faces. More...
Classes | |
class | trackData |
Class used to pass additional data in. More... | |
Public Member Functions | |
wallPoints () | |
Default construct. More... | |
wallPoints (const UList< point > &origin, const UList< scalar > &distSqr, const UList< FixedList< label, 3 >> &surface) | |
Construct from count. More... | |
const List< point > & | origin () const |
const List< scalar > & | distSqr () const |
const List< FixedList< label, 3 > > & | surface () const |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Changed or contains original (invalid) value. More... | |
template<class TrackingData > | |
bool | sameGeometry (const polyMesh &, const wallPoints &, const scalar, TrackingData &td) const |
Check for identical geometrical data (eg, 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 wallPoints &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 wallPoints &neighbourInfo, const scalar tol, TrackingData &td) |
Influence of neighbouring cell. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &, const label thisFacei, const wallPoints &neighbourInfo, const scalar tol, TrackingData &td) |
Influence of different value on same face. More... | |
template<class TrackingData > | |
bool | equal (const wallPoints &, TrackingData &) const |
Test for equality, with TrackingData. More... | |
bool | operator== (const wallPoints &) const |
Test for equality. More... | |
bool | operator!= (const wallPoints &) const |
Test for inequality. More... | |
Protected Member Functions | |
template<class TrackingData > | |
bool | update (const point &pt, const label index1, const wallPoints &w2, const label index2, const scalar tol, TrackingData &td) |
Originating normal. More... | |
Protected Attributes | |
DynamicList< point > | origin_ |
Starting points. More... | |
DynamicList< scalar > | distSqr_ |
Distance (squared) from cellcenter to origin. More... | |
DynamicList< FixedList< label, 3 > > | surface_ |
Originating surface,region and topological region. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const wallPoints &) |
Istream & | operator>> (Istream &, wallPoints &) |
For use with FaceCellWave. Determines topological distance to starting faces.
Definition at line 59 of file wallPoints.H.
|
inline |
Default construct.
Definition at line 83 of file wallPointsI.H.
|
inline |
Construct from count.
Definition at line 93 of file wallPointsI.H.
|
inlineprotected |
Originating normal.
DynamicList<vector> normal_;
Evaluate distance to point.
Update distSqr, origin from whomever is nearer pt.
Definition at line 28 of file wallPointsI.H.
References Foam::diff(), Foam::magSqr(), td(), and w2.
Definition at line 164 of file wallPoints.H.
References wallPoints::origin_.
|
inline |
Definition at line 168 of file wallPoints.H.
References wallPoints::distSqr_.
Definition at line 173 of file wallPoints.H.
References wallPoints::surface_.
|
inline |
Changed or contains original (invalid) value.
Definition at line 110 of file wallPointsI.H.
|
inline |
Check for identical geometrical data (eg, cyclics checking)
Definition at line 119 of file wallPointsI.H.
|
inline |
Convert any absolute coordinates into relative to (patch)face.
centre
Definition at line 133 of file wallPointsI.H.
|
inline |
Reverse of leaveDomain.
Definition at line 167 of file wallPointsI.H.
Apply rotation matrix to any coordinates.
Definition at line 151 of file wallPointsI.H.
References Foam::transform().
|
inline |
Influence of neighbouring face.
Definition at line 186 of file wallPointsI.H.
References primitiveMesh::cellCentres(), UList< T >::find(), forAll, Foam::labelMax, Foam::magSqr(), mesh, wallPoints::origin_, wallPoints::trackData::regionToBlockSize_, Foam::sqr(), wallPoints::surface_, td(), and update().
|
inline |
Influence of neighbouring cell.
Definition at line 268 of file wallPointsI.H.
References primitiveMesh::faceCentres(), UList< T >::find(), forAll, wallPoints::trackData::isBlockedFace_, Foam::labelMax, Foam::magSqr(), mesh, wallPoints::origin_, wallPoints::trackData::regionToBlockSize_, Foam::sqr(), wallPoints::surface_, td(), and update().
|
inline |
Influence of different value on same face.
Definition at line 350 of file wallPointsI.H.
References primitiveMesh::faceCentres(), UList< T >::find(), forAll, wallPoints::trackData::isBlockedFace_, Foam::labelMax, Foam::magSqr(), mesh, wallPoints::origin_, wallPoints::trackData::regionToBlockSize_, Foam::sqr(), wallPoints::surface_, td(), and update().
|
inline |
Test for equality, with TrackingData.
Definition at line 430 of file wallPointsI.H.
References Foam::operator==().
|
inline |
Test for equality.
Definition at line 442 of file wallPointsI.H.
References wallPoints::distSqr_, wallPoints::origin_, and wallPoints::surface_.
|
inline |
Test for inequality.
Definition at line 455 of file wallPointsI.H.
|
friend |
|
friend |
|
protected |
Starting points.
Definition at line 99 of file wallPoints.H.
Referenced by wallPoints::operator==(), wallPoints::origin(), wallPoints::updateCell(), and wallPoints::updateFace().
|
protected |
Distance (squared) from cellcenter to origin.
Definition at line 104 of file wallPoints.H.
Referenced by wallPoints::distSqr(), and wallPoints::operator==().
|
protected |
Originating surface,region and topological region.
Definition at line 109 of file wallPoints.H.
Referenced by wallPoints::operator==(), wallPoints::surface(), wallPoints::updateCell(), and wallPoints::updateFace().