pointEdgeStructuredWalk Class Reference

Determines length of string of edges walked to point. More...

Public Member Functions

 pointEdgeStructuredWalk ()
 Construct null. More...
 
 pointEdgeStructuredWalk (const point &, const point &, const scalar, const vector &)
 Construct from components. More...
 
bool inZone () const
 
scalar dist () const
 
const vector & data () 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 pointEdgeStructuredWalk &, 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 pointEdgeStructuredWalk &edgeInfo, const scalar tol, TrackingData &td)
 Influence of edge on point. More...
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointi, const pointEdgeStructuredWalk &newPointInfo, const scalar tol, TrackingData &td)
 Influence of different value on same point. More...
 
template<class TrackingData >
bool updatePoint (const pointEdgeStructuredWalk &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 pointEdgeStructuredWalk &pointInfo, const scalar tol, TrackingData &td)
 Influence of point on edge. More...
 
template<class TrackingData >
bool equal (const pointEdgeStructuredWalk &, TrackingData &) const
 Same (like operator==) More...
 
bool operator== (const pointEdgeStructuredWalk &) const
 
bool operator!= (const pointEdgeStructuredWalk &) const
 

Friends

Ostream & operator<< (Ostream &, const pointEdgeStructuredWalk &)
 
Istream & operator>> (Istream &, pointEdgeStructuredWalk &)
 

Detailed Description

Determines length of string of edges walked to point.

Source files

Definition at line 64 of file pointEdgeStructuredWalk.H.

Constructor & Destructor Documentation

◆ pointEdgeStructuredWalk() [1/2]

Construct null.

Definition at line 59 of file pointEdgeStructuredWalkI.H.

◆ pointEdgeStructuredWalk() [2/2]

pointEdgeStructuredWalk ( const point &  point0,
const point &  previousPoint,
const scalar  dist,
const vector &  data 
)
inline

Construct from components.

Definition at line 69 of file pointEdgeStructuredWalkI.H.

Member Function Documentation

◆ inZone()

bool inZone ( ) const
inline

Definition at line 86 of file pointEdgeStructuredWalkI.H.

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

◆ dist()

Foam::scalar dist ( ) const
inline

Definition at line 98 of file pointEdgeStructuredWalkI.H.

◆ data()

const Foam::vector & data ( ) const
inline

Definition at line 104 of file pointEdgeStructuredWalkI.H.

◆ valid()

bool valid ( TrackingData &  td) const
inline

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 111 of file pointEdgeStructuredWalkI.H.

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

◆ sameGeometry()

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

Check for identical geometrical data. Used for cyclics checking.

Definition at line 119 of file pointEdgeStructuredWalkI.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 147 of file pointEdgeStructuredWalkI.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 pointEdgeStructuredWalk &  edgeInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of edge on point.

Definition at line 162 of file pointEdgeStructuredWalkI.H.

◆ updatePoint() [2/3]

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

Influence of different value on same point.

Merge new and old info.

Definition at line 185 of file pointEdgeStructuredWalkI.H.

◆ updatePoint() [3/3]

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

Influence of different value on same point.

No information about current position whatsoever.

Definition at line 207 of file pointEdgeStructuredWalkI.H.

◆ updateEdge()

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

Influence of point on edge.

Definition at line 220 of file pointEdgeStructuredWalkI.H.

◆ equal()

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

Same (like operator==)

Definition at line 242 of file pointEdgeStructuredWalkI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const pointEdgeStructuredWalk &  rhs) const
inline

Definition at line 254 of file pointEdgeStructuredWalkI.H.

◆ operator!=()

bool operator!= ( const pointEdgeStructuredWalk &  rhs) const
inline

Definition at line 263 of file pointEdgeStructuredWalkI.H.

Friends And Related Function Documentation

◆ operator<<

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

◆ operator>>

Istream& operator>> ( Istream &  ,
pointEdgeStructuredWalk &   
)
friend

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