Public Member Functions | Friends | List of all members
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 vectordata () 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 leaveDomain (const polyPatch &patch, const label patchPointI, const point &pos, TrackingData &td)
 Convert origin to relative vector to leaving point. More...
 
template<class TrackingData >
void enterDomain (const polyPatch &patch, const label patchPointI, const point &pos, TrackingData &td)
 Convert relative origin to absolute by adding entering point. More...
 
template<class TrackingData >
void transform (const tensor &rotTensor, TrackingData &td)
 Apply rotation matrix to origin. 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

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

Detailed Description

Determines length of string of edges walked to point.

Source files

Definition at line 54 of file pointEdgeStructuredWalk.H.

Constructor & Destructor Documentation

Construct null.

Definition at line 59 of file pointEdgeStructuredWalkI.H.

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

Construct from components.

Definition at line 70 of file pointEdgeStructuredWalkI.H.

Member Function Documentation

bool inZone ( ) const
inline

Definition at line 86 of file pointEdgeStructuredWalkI.H.

References Vector< Cmpt >::max.

Referenced by pointEdgeStructuredWalk::updateEdge(), and pointEdgeStructuredWalk::updatePoint().

Here is the caller graph for this function:

Foam::scalar dist ( ) const
inline

Definition at line 98 of file pointEdgeStructuredWalkI.H.

Referenced by pointEdgeStructuredWalk::sameGeometry().

Here is the caller graph for this function:

const Foam::vector & data ( ) const
inline

Definition at line 104 of file pointEdgeStructuredWalkI.H.

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 Vector< Cmpt >::max, and pointEdgeStructuredWalk::sameGeometry().

Here is the call graph for this function:

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

Check for identical geometrical data. Used for cyclics checking.

Definition at line 120 of file pointEdgeStructuredWalkI.H.

References Foam::diff(), pointEdgeStructuredWalk::dist(), pointEdgeStructuredWalk::leaveDomain(), and Foam::mag().

Referenced by pointEdgeStructuredWalk::valid().

Here is the call graph for this function:

Here is the caller graph for this function:

void leaveDomain ( const polyPatch patch,
const label  patchPointI,
const point pos,
TrackingData &  td 
)
inline

Convert origin to relative vector to leaving point.

(= point coordinate)

Definition at line 148 of file pointEdgeStructuredWalkI.H.

References pointEdgeStructuredWalk::transform().

Referenced by pointEdgeStructuredWalk::sameGeometry().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Convert relative origin to absolute by adding entering point.

Definition at line 174 of file pointEdgeStructuredWalkI.H.

References pointEdgeStructuredWalk::updatePoint().

Referenced by pointEdgeStructuredWalk::transform().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Apply rotation matrix to origin.

Definition at line 161 of file pointEdgeStructuredWalkI.H.

References pointEdgeStructuredWalk::enterDomain(), and Foam::transform().

Referenced by pointEdgeStructuredWalk::leaveDomain().

Here is the call graph for this function:

Here is the caller graph for this function:

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 189 of file pointEdgeStructuredWalkI.H.

References pointEdgeStructuredWalk::inZone().

Referenced by pointEdgeStructuredWalk::enterDomain(), and pointEdgeStructuredWalk::updatePoint().

Here is the call graph for this function:

Here is the caller graph for this function:

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 212 of file pointEdgeStructuredWalkI.H.

References pointEdgeStructuredWalk::inZone(), and pointEdgeStructuredWalk::updatePoint().

Here is the call graph for this function:

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 234 of file pointEdgeStructuredWalkI.H.

References pointEdgeStructuredWalk::updateEdge().

Here is the call graph for this function:

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 247 of file pointEdgeStructuredWalkI.H.

References pointEdgeStructuredWalk::equal(), and pointEdgeStructuredWalk::inZone().

Referenced by pointEdgeStructuredWalk::updatePoint().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Same (like operator==)

Definition at line 269 of file pointEdgeStructuredWalkI.H.

References pointEdgeStructuredWalk::operator==().

Referenced by pointEdgeStructuredWalk::updateEdge().

Here is the call graph for this function:

Here is the caller graph for this function:

bool operator== ( const pointEdgeStructuredWalk rhs) const
inline

Definition at line 281 of file pointEdgeStructuredWalkI.H.

Referenced by pointEdgeStructuredWalk::equal().

Here is the caller graph for this function:

bool operator!= ( const pointEdgeStructuredWalk rhs) const
inline

Definition at line 290 of file pointEdgeStructuredWalkI.H.

Friends And Related Function Documentation

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

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