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 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 >
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 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 39 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.

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

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

References Foam::transform(), dimensionSet::transform, and pointEdgePoint::transform().

Here is the call graph for this function:

◆ updatePoint() [1/2]

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

References pointEdgePoint::updatePoint().

Here is the call graph for this function:

◆ updatePoint() [2/2]

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

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

References pointEdgePoint::updateEdge().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const pointData rhs) const
inline

Definition at line 187 of file pointDataI.H.

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

Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const pointData rhs) const
inline

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