pointEdgePoint Class Reference

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

Inheritance diagram for pointEdgePoint:

Public Member Functions

 pointEdgePoint ()
 Construct null. More...
 
 pointEdgePoint (const point &, const scalar)
 Construct from origin, distance. More...
 
const pointorigin () const
 
scalar distSqr () 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 pointEdgePoint &, const scalar tol, 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 updatePoint (const polyMesh &mesh, const label pointi, const label edgeI, const pointEdgePoint &edgeInfo, const scalar tol, TrackingData &td)
 Influence of edge on point. More...
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointi, const pointEdgePoint &newPointInfo, const scalar tol, TrackingData &td)
 Influence of different value on same point. More...
 
template<class TrackingData >
bool updatePoint (const pointEdgePoint &newPointInfo, const scalar tol, TrackingData &td)
 Influence of different value on same point. More...
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const label edgeI, const label pointi, const pointEdgePoint &pointInfo, const scalar tol, TrackingData &td)
 Influence of point on edge. More...
 
template<class TrackingData >
bool equal (const pointEdgePoint &, TrackingData &td) const
 Same (like operator==) More...
 
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 69 of file pointEdgePoint.H.

Constructor & Destructor Documentation

◆ pointEdgePoint() [1/2]

pointEdgePoint ( )
inline

Construct null.

Definition at line 120 of file pointEdgePointI.H.

◆ pointEdgePoint() [2/2]

pointEdgePoint ( const point origin,
const scalar  distSqr 
)
inline

Construct from origin, distance.

Definition at line 127 of file pointEdgePointI.H.

Member Function Documentation

◆ origin()

const Foam::point & origin ( ) const
inline

Definition at line 140 of file pointEdgePointI.H.

Referenced by pointEdgePoint::operator==().

Here is the caller graph for this function:

◆ distSqr()

Foam::scalar distSqr ( ) const
inline

Definition at line 146 of file pointEdgePointI.H.

Referenced by pointEdgePoint::operator==().

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 153 of file pointEdgePointI.H.

References VectorSpace< Form, Cmpt, Ncmpts >::max.

◆ sameGeometry()

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

Check for identical geometrical data. Used for cyclics checking.

Definition at line 161 of file pointEdgePointI.H.

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

Here is the call 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 189 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

Influence of edge on point.

Definition at line 204 of file pointEdgePointI.H.

References polyMesh::points().

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

Influence of different value on same point.

Merge new and old info.

Definition at line 220 of file pointEdgePointI.H.

References polyMesh::points().

Here is the call graph for this function:

◆ updatePoint() [3/3]

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

Influence of different value on same point.

No information about current position whatsoever.

Definition at line 235 of file pointEdgePointI.H.

◆ updateEdge()

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

Influence of point on edge.

Definition at line 248 of file pointEdgePointI.H.

References Foam::e, primitiveMesh::edges(), and polyMesh::points().

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

Same (like operator==)

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

References pointEdgePoint::distSqr(), and pointEdgePoint::origin().

Referenced by pointData::operator==().

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

◆ operator!=()

bool operator!= ( const pointEdgePoint rhs) const
inline

Definition at line 283 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: