WallFaceBase< Derived > Class Template Reference
Inheritance diagram for WallFaceBase< Derived >:

Public Member Functions

 WallFaceBase ()
 Construct null. More...
 
 WallFaceBase (const face &f, const pointField &points, const scalar distSqr)
 Construct from face, distance. More...
 
 WallFaceBase (const face &f, const pointField &points, const point &centre, const scalar distSqr)
 Construct from face, distance. More...
 
const pointFieldpoints () const
 
pointFieldpoints ()
 
scalar distSqr () const
 
scalar & distSqr ()
 
template<class TrackingData >
scalar dist (TrackingData &td) const
 
template<class TrackingData >
bool valid (TrackingData &td) const
 Check whether the WallFaceBase has been changed at all or still. More...
 
template<class TrackingData >
bool sameGeometry (const polyMesh &, const WallFaceBase< Derived > &, const scalar, TrackingData &td) const
 Check for identical geometrical data. Used for 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 WallFaceBase< Derived > &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 WallFaceBase< Derived > &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const WallFaceBase< Derived > &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 
template<class TrackingData >
bool equal (const WallFaceBase< Derived > &, TrackingData &td) const
 Test equality. More...
 
bool operator== (const WallFaceBase< Derived > &) const
 
bool operator!= (const WallFaceBase< Derived > &) const
 
template<class TrackingData >
Foam::scalar dist (TrackingData &td) const
 

Protected Member Functions

template<class TrackingData >
bool update (const point &pt, const WallFaceBase< Derived > &w2, const scalar tol, TrackingData &td)
 ... More...
 

Friends

Ostreamoperator (Ostream &, const WallFaceBase< Derived > &)
 
Istreamoperator>> (Istream &, WallFaceBase< Derived > &)
 

Detailed Description

template<class Derived>
class Foam::WallFaceBase< Derived >

Definition at line 53 of file wallFace.H.

Constructor & Destructor Documentation

◆ WallFaceBase() [1/3]

WallFaceBase ( )
inline

Construct null.

Definition at line 78 of file wallFaceI.H.

Referenced by WallFaceBase< wallFace >::WallFaceBase().

Here is the caller graph for this function:

◆ WallFaceBase() [2/3]

WallFaceBase ( const face f,
const pointField points,
const scalar  distSqr 
)
inline

Construct from face, distance.

Definition at line 87 of file wallFaceI.H.

◆ WallFaceBase() [3/3]

WallFaceBase ( const face f,
const pointField points,
const point centre,
const scalar  distSqr 
)
inline

Construct from face, distance.

Definition at line 100 of file wallFaceI.H.

Member Function Documentation

◆ update()

bool update ( const point pt,
const WallFaceBase< Derived > &  w2,
const scalar  tol,
TrackingData &  td 
)
inlineprotected

...

Definition at line 35 of file wallFaceI.H.

◆ points() [1/2]

const Foam::pointField & points ( ) const
inline

Definition at line 115 of file wallFaceI.H.

Referenced by WallFaceBase< wallFace >::operator!=(), WallFaceBase< wallFace >::operator==(), and WallFaceBase< wallFace >::update().

Here is the caller graph for this function:

◆ points() [2/2]

Foam::pointField & points ( )
inline

Definition at line 122 of file wallFaceI.H.

◆ distSqr() [1/2]

Foam::scalar distSqr ( ) const
inline

Definition at line 129 of file wallFaceI.H.

Referenced by WallFaceBase< wallFace >::operator!=(), and WallFaceBase< wallFace >::sameGeometry().

Here is the caller graph for this function:

◆ distSqr() [2/2]

Foam::scalar & distSqr ( )
inline

Definition at line 136 of file wallFaceI.H.

◆ dist() [1/2]

scalar dist ( TrackingData &  td) const
inline

◆ valid()

bool valid ( TrackingData &  td) const
inline

Check whether the WallFaceBase has been changed at all or still.

contains original (invalid) value.

Definition at line 152 of file wallFaceI.H.

◆ sameGeometry()

bool sameGeometry ( const polyMesh ,
const WallFaceBase< Derived > &  w2,
const scalar  tol,
TrackingData &  td 
) const
inline

Check for identical geometrical data. Used for checking.

consistency across cyclics.

Definition at line 161 of file wallFaceI.H.

Referenced by WallFaceBase< wallFace >::valid().

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 191 of file wallFaceI.H.

Referenced by WallFaceBase< wallFace >::sameGeometry().

Here is the caller graph for this function:

◆ updateCell()

bool updateCell ( const polyMesh mesh,
const label  thisCelli,
const label  neighbourFacei,
const WallFaceBase< Derived > &  neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring face.

Definition at line 205 of file wallFaceI.H.

Referenced by WallFaceBase< wallFace >::transform().

Here is the caller graph for this function:

◆ updateFace() [1/2]

bool updateFace ( const polyMesh mesh,
const label  thisFacei,
const label  neighbourCelli,
const WallFaceBase< Derived > &  neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring cell.

Definition at line 228 of file wallFaceI.H.

Referenced by WallFaceBase< wallFace >::updateCell(), and WallFaceBase< wallFace >::updateFace().

Here is the caller graph for this function:

◆ updateFace() [2/2]

bool updateFace ( const polyMesh mesh,
const label  thisFacei,
const WallFaceBase< Derived > &  neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of different value on same face.

Definition at line 251 of file wallFaceI.H.

◆ equal()

bool equal ( const WallFaceBase< Derived > &  rhs,
TrackingData &  td 
) const
inline

Test equality.

Definition at line 273 of file wallFaceI.H.

Referenced by WallFaceBase< wallFace >::updateFace().

Here is the caller graph for this function:

◆ operator==()

bool operator== ( const WallFaceBase< Derived > &  rhs) const
inline

Definition at line 286 of file wallFaceI.H.

◆ operator!=()

bool operator!= ( const WallFaceBase< Derived > &  rhs) const
inline

Definition at line 296 of file wallFaceI.H.

◆ dist() [2/2]

Foam::scalar dist ( TrackingData &  td) const
inline

Definition at line 144 of file wallFaceI.H.

Friends And Related Function Documentation

◆ operator

Ostream& operator ( Ostream ,
const WallFaceBase< Derived > &   
)
friend

◆ operator>>

Istream& operator>> ( Istream ,
WallFaceBase< Derived > &   
)
friend

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