Holds information regarding nearest wall point. Used in wall refinement. More...
Public Member Functions | |
wallNormalInfo () | |
Construct null. More... | |
wallNormalInfo (const vector &normal) | |
Construct from normal. More... | |
wallNormalInfo (const wallNormalInfo &) | |
Construct as copy. More... | |
const vector & | normal () 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 wallNormalInfo &, 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 wallNormalInfo &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 wallNormalInfo &neighbourInfo, const scalar tol, TrackingData &td) |
Influence of neighbouring cell. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &, const label thisFaceI, const wallNormalInfo &neighbourInfo, const scalar tol, TrackingData &td) |
Influence of different value on same face. More... | |
template<class TrackingData > | |
bool | equal (const wallNormalInfo &, TrackingData &td) const |
Same (like operator==) More... | |
bool | operator== (const wallNormalInfo &) const |
bool | operator!= (const wallNormalInfo &) const |
Private Member Functions | |
template<class TrackingData > | |
bool | update (const wallNormalInfo &w2, TrackingData &td) |
Evaluate distance to point. Update normal_. More... | |
Private Attributes | |
vector | normal_ |
Normal at nearest wall point. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const wallNormalInfo &) |
Istream & | operator>> (Istream &, wallNormalInfo &) |
Holds information regarding nearest wall point. Used in wall refinement.
Definition at line 57 of file wallNormalInfo.H.
|
inline |
Construct null.
Definition at line 62 of file wallNormalInfoI.H.
|
inline |
Construct from normal.
Definition at line 69 of file wallNormalInfoI.H.
|
inline |
Construct as copy.
Definition at line 76 of file wallNormalInfoI.H.
|
inlineprivate |
Evaluate distance to point. Update normal_.
Definition at line 33 of file wallNormalInfoI.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, wallNormalInfo::normal(), and wallNormalInfo::valid().
|
inline |
Definition at line 84 of file wallNormalInfoI.H.
Referenced by wallNormalInfo::operator==(), wallNormalInfo::update(), and wallLayerCells::wallLayerCells().
|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 91 of file wallNormalInfoI.H.
References Vector< scalar >::max.
Referenced by wallNormalInfo::update(), and wallLayerCells::wallLayerCells().
|
inline |
Check for identical geometrical data. Used for cyclics checking.
Definition at line 100 of file wallNormalInfoI.H.
|
inline |
Convert any absolute coordinates into relative to (patch)face.
centre
Definition at line 114 of file wallNormalInfoI.H.
|
inline |
Reverse of leaveDomain.
Definition at line 138 of file wallNormalInfoI.H.
Apply rotation matrix to any coordinates.
Definition at line 127 of file wallNormalInfoI.H.
|
inline |
Influence of neighbouring face.
Definition at line 151 of file wallNormalInfoI.H.
|
inline |
Influence of neighbouring cell.
Definition at line 167 of file wallNormalInfoI.H.
|
inline |
Influence of different value on same face.
Definition at line 183 of file wallNormalInfoI.H.
|
inline |
Same (like operator==)
Definition at line 197 of file wallNormalInfoI.H.
References Foam::operator==().
|
inline |
Definition at line 208 of file wallNormalInfoI.H.
References wallNormalInfo::normal().
|
inline |
Definition at line 215 of file wallNormalInfoI.H.
|
friend |
|
friend |
|
private |
Normal at nearest wall point.
Definition at line 62 of file wallNormalInfo.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.