pointEdgeCollapse Class Reference

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

Public Member Functions

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

Friends

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

Detailed Description

Determines length of string of edges walked to point.

Source files

Definition at line 64 of file pointEdgeCollapse.H.

Constructor & Destructor Documentation

◆ pointEdgeCollapse() [1/2]

pointEdgeCollapse ( )
inline

Construct null.

Definition at line 104 of file pointEdgeCollapseI.H.

◆ pointEdgeCollapse() [2/2]

pointEdgeCollapse ( const point collapsePoint,
const label  collapseIndex,
const label  collapsePriority 
)
inline

Construct from components.

Definition at line 113 of file pointEdgeCollapseI.H.

Member Function Documentation

◆ collapsePoint()

const Foam::point & collapsePoint ( ) const
inline

Definition at line 128 of file pointEdgeCollapseI.H.

◆ collapseIndex()

Foam::label collapseIndex ( ) const
inline

Definition at line 134 of file pointEdgeCollapseI.H.

Referenced by edgeCollapser::setRefinement().

Here is the caller graph for this function:

◆ collapsePriority()

Foam::label collapsePriority ( ) const
inline

Definition at line 140 of file pointEdgeCollapseI.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 163 of file pointEdgeCollapseI.H.

◆ transform()

void transform ( const polyPatch patch,
const label  patchFacei,
const transformer transform,
TrackingData &  td 
)
inline

Transform across an interface.

Definition at line 170 of file pointEdgeCollapseI.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 pointEdgeCollapse edgeInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of edge on point.

Definition at line 184 of file pointEdgeCollapseI.H.

◆ updatePoint() [2/3]

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

Influence of different value on same point.

Merge new and old info.

Definition at line 200 of file pointEdgeCollapseI.H.

◆ updatePoint() [3/3]

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

Influence of different value on same point.

No information about current position whatsoever.

Definition at line 215 of file pointEdgeCollapseI.H.

◆ updateEdge()

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

Influence of point on edge.

Definition at line 228 of file pointEdgeCollapseI.H.

◆ equal()

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

Same (like operator==)

Definition at line 243 of file pointEdgeCollapseI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const pointEdgeCollapse rhs) const
inline

Definition at line 255 of file pointEdgeCollapseI.H.

◆ operator!=()

bool operator!= ( const pointEdgeCollapse rhs) const
inline

Definition at line 267 of file pointEdgeCollapseI.H.

Friends And Related Function Documentation

◆ operator<<

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

◆ operator>>

Istream& operator>> ( Istream ,
pointEdgeCollapse  
)
friend

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