Holds information regarding nearest wall point. Used in pointEdgeWave. (so not standard meshWave) More...
#include <autoMesh/pointData.H>
Holds information regarding nearest wall point. Used in pointEdgeWave. (so not standard meshWave)
To be used in wall distance calculation.
Definition at line 60 of file pointData.H.
Public Member Functions | |
pointData () | |
Construct null. | |
pointData (const point &origin, const scalar distSqr, const scalar s, const vector &v) | |
Construct from origin, distance. | |
pointData (const pointData &) | |
Construct as copy. | |
const point & | origin () const |
scalar | distSqr () const |
scalar | s () const |
const vector & | v () const |
bool | valid () const |
Check whether origin has been changed at all or. | |
bool | sameGeometry (const pointData &, const scalar tol) const |
Check for identical geometrical data. Used for cyclics checking. | |
void | leaveDomain (const polyPatch &patch, const label patchPointI, const point &pos) |
Convert origin to relative vector to leaving point. | |
void | enterDomain (const polyPatch &patch, const label patchPointI, const point &pos) |
Convert relative origin to absolute by adding entering point. | |
void | transform (const tensor &rotTensor) |
Apply rotation matrix to origin. | |
bool | updatePoint (const polyMesh &mesh, const label pointI, const label edgeI, const pointData &edgeInfo, const scalar tol) |
Influence of edge on point. | |
bool | updatePoint (const polyMesh &mesh, const label pointI, const pointData &newPointInfo, const scalar tol) |
Influence of different value on same point. | |
bool | updatePoint (const pointData &newPointInfo, const scalar tol) |
Influence of different value on same point. | |
bool | updateEdge (const polyMesh &mesh, const label edgeI, const label pointI, const pointData &pointInfo, const scalar tol) |
Influence of point on edge. | |
bool | operator== (const pointData &) const |
bool | operator!= (const pointData &) const |
Friends | |
Ostream & | operator<< (Ostream &, const pointData &) |
Istream & | operator>> (Istream &, pointData &) |
|
inline |
Construct null.
Definition at line 138 of file pointDataI.H.
Construct from origin, distance.
Definition at line 149 of file pointDataI.H.
Construct as copy.
Definition at line 164 of file pointDataI.H.
|
inline |
Definition at line 175 of file pointDataI.H.
Referenced by pointData::operator==().
|
inline |
Definition at line 181 of file pointDataI.H.
Referenced by pointData::sameGeometry().
|
inline |
Definition at line 187 of file pointDataI.H.
|
inline |
Definition at line 193 of file pointDataI.H.
|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 199 of file pointDataI.H.
References wallPoint::greatPoint.
|
inline |
Check for identical geometrical data. Used for cyclics checking.
Definition at line 207 of file pointDataI.H.
References pointData::distSqr(), and Foam::mag().
Convert origin to relative vector to leaving point.
(= point coordinate)
Definition at line 233 of file pointDataI.H.
Convert relative origin to absolute by adding entering point.
Definition at line 252 of file pointDataI.H.
|
inline |
Apply rotation matrix to origin.
Definition at line 243 of file pointDataI.H.
References Foam::transform().
|
inline |
Influence of edge on point.
Definition at line 265 of file pointDataI.H.
References polyMesh::points().
|
inline |
Influence of different value on same point.
Merge new and old info.
Definition at line 285 of file pointDataI.H.
References polyMesh::points().
|
inline |
Influence of different value on same point.
No information about current position whatsoever.
Definition at line 304 of file pointDataI.H.
|
inline |
Influence of point on edge.
Definition at line 315 of file pointDataI.H.
References e, primitiveMesh::edges(), points, and polyMesh::points().
|
inline |
Definition at line 341 of file pointDataI.H.
References pointData::origin().
|
inline |
Definition at line 347 of file pointDataI.H.