Classes | Public Member Functions | Friends | List of all members
externalPointEdgePoint Class Reference

Holds information regarding nearest wall point. Used in PointEdgeWave. (so not standard FaceCellWave) To be used in wall distance calculation. More...

Classes

class  trackingData
 

Public Member Functions

 externalPointEdgePoint ()
 
 externalPointEdgePoint (const point &, const scalar)
 
const pointorigin () const
 
scalar distSqr () const
 
template<class TrackingData >
bool valid (TrackingData &td) const
 
template<class TrackingData >
bool sameGeometry (const externalPointEdgePoint &, const scalar tol, TrackingData &td) const
 
template<class TrackingData >
void leaveDomain (const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
 
template<class TrackingData >
void enterDomain (const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
 
template<class TrackingData >
void transform (const tensor &rotTensor, TrackingData &td)
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointi, const label edgeI, const externalPointEdgePoint &edgeInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointi, const externalPointEdgePoint &newPointInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updatePoint (const externalPointEdgePoint &newPointInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const label edgeI, const label pointi, const externalPointEdgePoint &pointInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool equal (const externalPointEdgePoint &, TrackingData &td) const
 
bool operator== (const externalPointEdgePoint &) const
 
bool operator!= (const externalPointEdgePoint &) const
 

Friends

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

Detailed Description

Holds information regarding nearest wall point. Used in PointEdgeWave. (so not standard FaceCellWave) To be used in wall distance calculation.

Source files

Definition at line 58 of file externalPointEdgePoint.H.

Constructor & Destructor Documentation

◆ externalPointEdgePoint() [1/2]

Definition at line 114 of file externalPointEdgePointI.H.

◆ externalPointEdgePoint() [2/2]

externalPointEdgePoint ( const point origin,
const scalar  distSqr 
)
inline

Definition at line 122 of file externalPointEdgePointI.H.

Member Function Documentation

◆ origin()

const point& origin ( ) const
inline

Definition at line 123 of file externalPointEdgePoint.H.

◆ distSqr()

scalar distSqr ( ) const
inline

Definition at line 128 of file externalPointEdgePoint.H.

◆ valid()

bool valid ( TrackingData &  td) const
inline

◆ sameGeometry()

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

Definition at line 144 of file externalPointEdgePointI.H.

References Foam::diff(), Foam::mag(), and w2.

Here is the call graph for this function:

◆ leaveDomain()

void leaveDomain ( const polyPatch patch,
const label  patchPointi,
const point pos,
TrackingData &  td 
)
inline

Definition at line 172 of file externalPointEdgePointI.H.

◆ enterDomain()

void enterDomain ( const polyPatch patch,
const label  patchPointi,
const point pos,
TrackingData &  td 
)
inline

Definition at line 196 of file externalPointEdgePointI.H.

◆ transform()

void transform ( const tensor rotTensor,
TrackingData &  td 
)
inline

Definition at line 185 of file externalPointEdgePointI.H.

References Foam::transform().

Here is the call graph for this function:

◆ updatePoint() [1/3]

bool updatePoint ( const polyMesh mesh,
const label  pointi,
const label  edgeI,
const externalPointEdgePoint edgeInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 210 of file externalPointEdgePointI.H.

References update().

Here is the call graph for this function:

◆ updatePoint() [2/3]

bool updatePoint ( const polyMesh mesh,
const label  pointi,
const externalPointEdgePoint newPointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 225 of file externalPointEdgePointI.H.

References update().

Here is the call graph for this function:

◆ updatePoint() [3/3]

bool updatePoint ( const externalPointEdgePoint newPointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 239 of file externalPointEdgePointI.H.

References update().

Here is the call graph for this function:

◆ updateEdge()

bool updateEdge ( const polyMesh mesh,
const label  edgeI,
const label  pointi,
const externalPointEdgePoint pointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 251 of file externalPointEdgePointI.H.

References Foam::constant::electromagnetic::e, primitiveMesh::edges(), mesh, and update().

Here is the call graph for this function:

◆ equal()

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

Definition at line 267 of file externalPointEdgePointI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const externalPointEdgePoint rhs) const
inline

Definition at line 279 of file externalPointEdgePointI.H.

◆ operator!=()

bool operator!= ( const externalPointEdgePoint rhs) const
inline

Definition at line 288 of file externalPointEdgePointI.H.

Friends And Related Function Documentation

◆ operator<<

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

◆ operator>>

Istream& operator>> ( Istream ,
externalPointEdgePoint  
)
friend

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