Public Member Functions | Friends | List of all members
pointEdgePoint Class Reference

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

Public Member Functions

 pointEdgePoint ()
 
 pointEdgePoint (const point &origin, const scalar distSqr)
 
const pointorigin () const
 
pointorigin ()
 
scalar distSqr () const
 
scalar & distSqr ()
 
template<class TrackingData >
bool valid (TrackingData &td) const
 
template<class TrackingData >
bool sameGeometry (const pointEdgePoint &, 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 pointEdgePoint &edgeInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointi, const pointEdgePoint &newPointInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updatePoint (const pointEdgePoint &newPointInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const label edgeI, const label pointi, const pointEdgePoint &pointInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool equal (const pointEdgePoint &, TrackingData &td) const
 
bool operator== (const pointEdgePoint &) const
 
bool operator!= (const pointEdgePoint &) const
 

Friends

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

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 62 of file pointEdgePoint.H.

Constructor & Destructor Documentation

◆ pointEdgePoint() [1/2]

pointEdgePoint ( )
inline

Definition at line 116 of file pointEdgePointI.H.

◆ pointEdgePoint() [2/2]

pointEdgePoint ( const point origin,
const scalar  distSqr 
)
inline

Definition at line 124 of file pointEdgePointI.H.

Member Function Documentation

◆ origin() [1/2]

const point& origin ( ) const
inline

Definition at line 113 of file pointEdgePoint.H.

◆ origin() [2/2]

point& origin ( )
inline

Definition at line 117 of file pointEdgePoint.H.

◆ distSqr() [1/2]

scalar distSqr ( ) const
inline

Definition at line 122 of file pointEdgePoint.H.

◆ distSqr() [2/2]

scalar& distSqr ( )
inline

Definition at line 126 of file pointEdgePoint.H.

◆ valid()

bool valid ( TrackingData &  td) const
inline

◆ sameGeometry()

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

Definition at line 146 of file pointEdgePointI.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 174 of file pointEdgePointI.H.

◆ enterDomain()

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

Definition at line 200 of file pointEdgePointI.H.

◆ transform()

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

Definition at line 187 of file pointEdgePointI.H.

References Foam::transform().

Referenced by PointData::transform().

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

◆ updatePoint() [1/3]

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

Definition at line 215 of file pointEdgePointI.H.

References mesh, polyMesh::points(), and update().

Referenced by PointData::updatePoint().

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

◆ updatePoint() [2/3]

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

Definition at line 231 of file pointEdgePointI.H.

References mesh, polyMesh::points(), and update().

Here is the call graph for this function:

◆ updatePoint() [3/3]

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

Definition at line 246 of file pointEdgePointI.H.

References update().

Here is the call graph for this function:

◆ updateEdge()

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

Definition at line 259 of file pointEdgePointI.H.

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

Referenced by PointData::updateEdge().

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

◆ equal()

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

Definition at line 275 of file pointEdgePointI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const pointEdgePoint rhs) const
inline

Definition at line 287 of file pointEdgePointI.H.

Referenced by PointData::operator==().

Here is the caller graph for this function:

◆ operator!=()

bool operator!= ( const pointEdgePoint rhs) const
inline

Definition at line 296 of file pointEdgePointI.H.

Friends And Related Function Documentation

◆ operator<<

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

◆ operator>>

Istream& operator>> ( Istream ,
pointEdgePoint  
)
friend

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