pointData Class Reference

Variant of pointEdgePoint with some transported additional data. WIP - should be templated on data like wallPointData. More...

Inheritance diagram for pointData:
Collaboration diagram for pointData:

Public Member Functions

 pointData ()
 Construct null. More...
 
 pointData (const point &origin, const scalar distSqr, const scalar s, const vector &v)
 Construct from origin, distance. More...
 
scalar s () const
 
const vectorv () const
 
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 pointData &edgeinfo, const scalar tol, TrackingData &td)
 Influence of edge on point. More...
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointi, const pointData &newPointInfo, const scalar tol, TrackingData &td)
 Influence of different value on same point. More...
 
template<class TrackingData >
bool updatePoint (const pointData &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 pointData &pointInfo, const scalar tol, TrackingData &td)
 Influence of point on edge. More...
 
bool operator== (const pointData &) const
 
bool operator!= (const pointData &) const
 
- Public Member Functions inherited from pointEdgePoint
 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 pointData &)
 
Istreamoperator>> (Istream &, pointData &)
 

Detailed Description

Variant of pointEdgePoint with some transported additional data. WIP - should be templated on data like wallPointData.

Source files

Definition at line 60 of file pointData.H.

Constructor & Destructor Documentation

◆ pointData() [1/2]

pointData ( )
inline

Construct null.

Definition at line 31 of file pointDataI.H.

◆ pointData() [2/2]

pointData ( const point origin,
const scalar  distSqr,
const scalar  s,
const vector v 
)
inline

Construct from origin, distance.

Definition at line 40 of file pointDataI.H.

Member Function Documentation

◆ s()

Foam::scalar s ( ) const
inline

Definition at line 55 of file pointDataI.H.

Referenced by Foam::operator<<(), and pointData::operator==().

Here is the caller graph for this function:

◆ v()

const Foam::vector & v ( ) const
inline

Definition at line 61 of file pointDataI.H.

References pointData::transform().

Referenced by Foam::operator<<(), and pointData::operator==().

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 69 of file pointDataI.H.

References pointEdgePoint::transform(), transformer::transform(), and pointData::updatePoint().

Referenced by pointData::v().

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 pointData edgeinfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of edge on point.

Definition at line 84 of file pointDataI.H.

References pointEdgePoint::updatePoint().

Referenced by pointData::transform(), and 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 pointData newPointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of different value on same point.

Merge new and old info.

Definition at line 119 of file pointDataI.H.

References pointData::updatePoint(), and pointEdgePoint::updatePoint().

Here is the call graph for this function:

◆ updatePoint() [3/3]

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

Influence of different value on same point.

No information about current position whatsoever.

Definition at line 153 of file pointDataI.H.

References pointData::updateEdge(), and pointEdgePoint::updatePoint().

Here is the call graph for this function:

◆ updateEdge()

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

Influence of point on edge.

Definition at line 175 of file pointDataI.H.

References pointEdgePoint::updateEdge().

Referenced by pointData::updatePoint().

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

◆ operator==()

bool operator== ( const pointData rhs) const
inline

Definition at line 211 of file pointDataI.H.

References pointEdgePoint::operator==(), pointData::s(), and pointData::v().

Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const pointData rhs) const
inline

Definition at line 221 of file pointDataI.H.

Friends And Related Function Documentation

◆ operator<<

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

◆ operator>>

Istream& operator>> ( Istream ,
pointData  
)
friend

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