Holds information regarding nearest wall point. Used in wall distance calculation. More...
#include <meshTools/wallPoint.H>
Holds information regarding nearest wall point. Used in wall distance calculation.
Definition at line 64 of file wallPoint.H.
Public Member Functions | |
wallPoint () | |
Construct null.
| |
wallPoint (const point &origin, const scalar distSqr) | |
Construct from origin, distance.
| |
wallPoint (const wallPoint &) | |
Construct as copy.
| |
const point & | origin () const |
point & | origin () |
scalar | distSqr () const |
scalar & | distSqr () |
bool | valid () const |
Check whether origin has been changed at all or.
| |
bool | sameGeometry (const polyMesh &, const wallPoint &, const scalar) const |
Check for identical geometrical data. Used for cyclics checking.
| |
void | leaveDomain (const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre) |
Convert any absolute coordinates into relative to (patch)face.
| |
void | enterDomain (const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre) |
Reverse of leaveDomain.
| |
void | transform (const polyMesh &, const tensor &) |
Apply rotation matrix to any coordinates.
| |
bool | updateCell (const polyMesh &, const label thisCellI, const label neighbourFaceI, const wallPoint &neighbourInfo, const scalar tol) |
Influence of neighbouring face.
| |
bool | updateFace (const polyMesh &, const label thisFaceI, const label neighbourCellI, const wallPoint &neighbourInfo, const scalar tol) |
Influence of neighbouring cell.
| |
bool | updateFace (const polyMesh &, const label thisFaceI, const wallPoint &neighbourInfo, const scalar tol) |
Influence of different value on same face.
| |
bool | operator== (const wallPoint &) const |
bool | operator!= (const wallPoint &) const |
Static Public Attributes | |
static point | greatPoint |
initial point far away.
| |
Friends | |
Ostream & | operator<< (Ostream &, const wallPoint &) |
Istream & | operator>> (Istream &, wallPoint &) |
wallPoint | ( | ) | [inline]
|
Construct null.
Definition at line 84 of file wallPointI.H.
Construct from origin, distance.
Definition at line 92 of file wallPointI.H.
Construct as copy.
Definition at line 99 of file wallPointI.H.
const Foam::point & origin | ( | ) | const [inline]
|
Definition at line 107 of file wallPointI.H.
Referenced by Foam::operator<<(), wallPoint::operator==(), and Foam::operator>>().
Foam::point & origin | ( | ) | [inline]
|
Definition at line 113 of file wallPointI.H.
Foam::scalar distSqr | ( | ) | const [inline]
|
Definition at line 119 of file wallPointI.H.
Referenced by Foam::operator<<(), Foam::operator>>(), and wallPoint::sameGeometry().
Foam::scalar & distSqr | ( | ) | [inline]
|
Definition at line 125 of file wallPointI.H.
bool valid | ( | ) | const [inline]
|
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 131 of file wallPointI.H.
Check for identical geometrical data. Used for cyclics checking.
Definition at line 139 of file wallPointI.H.
References wallPoint::distSqr(), and Foam::mag().
void leaveDomain | ( | const polyMesh & | , |
const polyPatch & | , | ||
const label | patchFaceI, | ||
const point & | faceCentre | ||
) | [inline]
|
Convert any absolute coordinates into relative to (patch)face.
centre
Definition at line 167 of file wallPointI.H.
void enterDomain | ( | const polyMesh & | , |
const polyPatch & | , | ||
const label | patchFaceI, | ||
const point & | faceCentre | ||
) | [inline]
|
Reverse of leaveDomain.
Definition at line 191 of file wallPointI.H.
Apply rotation matrix to any coordinates.
Definition at line 179 of file wallPointI.H.
References Foam::transform().
bool updateCell | ( | const polyMesh & | mesh, |
const label | thisCellI, | ||
const label | neighbourFaceI, | ||
const wallPoint & | neighbourInfo, | ||
const scalar | tol | ||
) | [inline]
|
Influence of neighbouring face.
Definition at line 205 of file wallPointI.H.
References primitiveMesh::cellCentres().
bool updateFace | ( | const polyMesh & | mesh, |
const label | thisFaceI, | ||
const label | neighbourCellI, | ||
const wallPoint & | neighbourInfo, | ||
const scalar | tol | ||
) | [inline]
|
Influence of neighbouring cell.
Definition at line 225 of file wallPointI.H.
References primitiveMesh::faceCentres().
bool updateFace | ( | const polyMesh & | mesh, |
const label | thisFaceI, | ||
const wallPoint & | neighbourInfo, | ||
const scalar | tol | ||
) | [inline]
|
Influence of different value on same face.
Definition at line 244 of file wallPointI.H.
References primitiveMesh::faceCentres().
bool operator== | ( | const wallPoint & | rhs ) | const [inline]
|
Definition at line 263 of file wallPointI.H.
References wallPoint::origin().
bool operator!= | ( | const wallPoint & | rhs ) | const [inline]
|
Definition at line 269 of file wallPointI.H.
Foam::point greatPoint [static]
|
initial point far away.
Definition at line 92 of file wallPoint.H.
Referenced by removePoints::getUnrefimentSet(), addPatchCellLayer::setRefinement(), removePoints::setUnrefinement(), and pointData::valid().