Loading...
Searching...
No Matches
pointEdgeCollapse Class Reference

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

#include <pointEdgeCollapse.H>

Public Member Functions

 pointEdgeCollapse ()
 Default construct.
 pointEdgeCollapse (const point &collapsePoint, const label collapseIndex, const label collapsePriority)
 Construct from components.
const pointcollapsePoint () const
label collapseIndex () const
label collapsePriority () const
template<class TrackingData>
bool valid (TrackingData &td) const
 Changed or contains original (invalid) value.
template<class TrackingData>
void leaveDomain (const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
 Convert origin to relative vector to leaving point.
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.
template<class TrackingData>
void transform (const tensor &rotTensor, TrackingData &td)
 Apply rotation matrix to origin.
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.
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.
template<class TrackingData>
bool updatePoint (const pointEdgeCollapse &newPointInfo, const scalar tol, TrackingData &td)
 Influence of different value on same point.
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.
template<class TrackingData>
bool equal (const pointEdgeCollapse &, TrackingData &) const
 Test for equality, with TrackingData.
bool operator== (const pointEdgeCollapse &) const
 Test for equality.
bool operator!= (const pointEdgeCollapse &) const
 Test for inequality.

Friends

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

Detailed Description

Determines length of string of edges walked to point.

Source files

Definition at line 57 of file pointEdgeCollapse.H.

Constructor & Destructor Documentation

◆ pointEdgeCollapse() [1/2]

pointEdgeCollapse ( )
inline

Default construct.

Definition at line 112 of file pointEdgeCollapseI.H.

Referenced by equal(), operator!=(), operator<<, operator==(), operator>>, updateEdge(), updatePoint(), updatePoint(), and updatePoint().

Here is the caller graph for this function:

◆ pointEdgeCollapse() [2/2]

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

Construct from components.

Definition at line 120 of file pointEdgeCollapseI.H.

References collapseIndex(), collapsePoint(), and collapsePriority().

Here is the call graph for this function:

Member Function Documentation

◆ collapsePoint()

const point & collapsePoint ( ) const
inline

Definition at line 119 of file pointEdgeCollapse.H.

Referenced by pointEdgeCollapse().

Here is the caller graph for this function:

◆ collapseIndex()

label collapseIndex ( ) const
inline

Definition at line 124 of file pointEdgeCollapse.H.

Referenced by pointEdgeCollapse(), and edgeCollapser::setRefinement().

Here is the caller graph for this function:

◆ collapsePriority()

label collapsePriority ( ) const
inline

Definition at line 129 of file pointEdgeCollapse.H.

Referenced by pointEdgeCollapse().

Here is the caller graph for this function:

◆ valid()

template<class TrackingData>
bool valid ( TrackingData & td) const
inline

Changed or contains original (invalid) value.

Definition at line 136 of file pointEdgeCollapseI.H.

References td().

Here is the call graph for this function:

◆ leaveDomain()

template<class TrackingData>
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 143 of file pointEdgeCollapseI.H.

References td().

Here is the call graph for this function:

◆ enterDomain()

template<class TrackingData>
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 169 of file pointEdgeCollapseI.H.

References td().

Here is the call graph for this function:

◆ transform()

template<class TrackingData>
void transform ( const tensor & rotTensor,
TrackingData & td )
inline

Apply rotation matrix to origin.

Definition at line 156 of file pointEdgeCollapseI.H.

References td(), and Foam::transform().

Here is the call graph for this function:

◆ updatePoint() [1/3]

template<class TrackingData>
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.

References mesh, pointEdgeCollapse(), td(), and update().

Here is the call graph for this function:

◆ updatePoint() [2/3]

template<class TrackingData>
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.

References mesh, pointEdgeCollapse(), td(), and update().

Here is the call graph for this function:

◆ updatePoint() [3/3]

template<class TrackingData>
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.

References pointEdgeCollapse(), td(), and update().

Here is the call graph for this function:

◆ updateEdge()

template<class TrackingData>
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.

References mesh, pointEdgeCollapse(), td(), and update().

Here is the call graph for this function:

◆ equal()

template<class TrackingData>
bool equal ( const pointEdgeCollapse & rhs,
TrackingData & td ) const
inline

Test for equality, with TrackingData.

Definition at line 243 of file pointEdgeCollapseI.H.

References Foam::operator==(), pointEdgeCollapse(), Foam::rhs(), and td().

Here is the call graph for this function:

◆ operator==()

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

Test for equality.

Definition at line 255 of file pointEdgeCollapseI.H.

References pointEdgeCollapse(), and Foam::rhs().

Here is the call graph for this function:

◆ operator!=()

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

Test for inequality.

Definition at line 267 of file pointEdgeCollapseI.H.

References pointEdgeCollapse(), and Foam::rhs().

Here is the call graph for this function:

◆ operator<<

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

References pointEdgeCollapse().

◆ operator>>

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

References pointEdgeCollapse().


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