wallNormalInfo Class Reference

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...
 
const vectornormal () 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 transform (const polyPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td)
 Transform across an interface. 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
 

Friends

Ostreamoperator<< (Ostream &, const wallNormalInfo &)
 
Istreamoperator>> (Istream &, wallNormalInfo &)
 

Detailed Description

Holds information regarding nearest wall point. Used in wall refinement.

Source files

Definition at line 67 of file wallNormalInfo.H.

Constructor & Destructor Documentation

◆ wallNormalInfo() [1/2]

wallNormalInfo ( )
inline

Construct null.

Definition at line 60 of file wallNormalInfoI.H.

◆ wallNormalInfo() [2/2]

wallNormalInfo ( const vector normal)
inline

Construct from normal.

Definition at line 66 of file wallNormalInfoI.H.

Member Function Documentation

◆ normal()

const Foam::vector & normal ( ) const
inline

Definition at line 74 of file wallNormalInfoI.H.

Referenced by wallNormalInfo::operator==(), and wallLayerCells::wallLayerCells().

Here is the caller graph for this function:

◆ valid()

bool valid ( TrackingData &  td) const
inline

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 81 of file wallNormalInfoI.H.

References VectorSpace< Vector< scalar >, scalar, 3 >::max, and wallNormalInfo::sameGeometry().

Referenced by wallLayerCells::wallLayerCells().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sameGeometry()

bool sameGeometry ( const polyMesh ,
const wallNormalInfo w2,
const scalar  tol,
TrackingData &  td 
) const
inline

Check for identical geometrical data. Used for cyclics checking.

Definition at line 89 of file wallNormalInfoI.H.

References wallNormalInfo::transform().

Referenced by wallNormalInfo::valid().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ transform()

void transform ( const polyPatch patch,
const label  patchFacei,
const transformer transform,
TrackingData &  td 
)
inline

Transform across an interface.

Definition at line 102 of file wallNormalInfoI.H.

References wallNormalInfo::updateCell().

Referenced by wallNormalInfo::sameGeometry().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateCell()

bool updateCell ( const polyMesh ,
const label  thisCelli,
const label  neighbourFacei,
const wallNormalInfo neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring face.

Definition at line 113 of file wallNormalInfoI.H.

References wallNormalInfo::updateFace().

Referenced by wallNormalInfo::transform().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateFace() [1/2]

bool updateFace ( const polyMesh ,
const label  thisFacei,
const label  neighbourCelli,
const wallNormalInfo neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring cell.

Definition at line 128 of file wallNormalInfoI.H.

Referenced by wallNormalInfo::updateCell().

Here is the caller graph for this function:

◆ updateFace() [2/2]

bool updateFace ( const polyMesh ,
const label  thisFacei,
const wallNormalInfo neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of different value on same face.

Definition at line 143 of file wallNormalInfoI.H.

References wallNormalInfo::equal().

Here is the call graph for this function:

◆ equal()

bool equal ( const wallNormalInfo rhs,
TrackingData &  td 
) const
inline

Same (like operator==)

Definition at line 157 of file wallNormalInfoI.H.

References wallNormalInfo::operator==().

Referenced by wallNormalInfo::updateFace().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator==()

bool operator== ( const wallNormalInfo rhs) const
inline

Definition at line 169 of file wallNormalInfoI.H.

References wallNormalInfo::normal().

Referenced by wallNormalInfo::equal().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator!=()

bool operator!= ( const wallNormalInfo rhs) const
inline

Definition at line 178 of file wallNormalInfoI.H.

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream ,
const wallNormalInfo  
)
friend

◆ operator>>

Istream& operator>> ( Istream ,
wallNormalInfo  
)
friend

The documentation for this class was generated from the following files: