PointIntegrateData< DataType > Class Template Reference

Integrate along selected edges using PointEdgeWave. More...

Classes

class  trackingData
 Class used to pass extra data. More...
 

Public Member Functions

 PointIntegrateData ()
 Default construct. More...
 
 PointIntegrateData (const DataType &data)
 Construct from data. More...
 
const DataType & data () const
 
DataType & data ()
 
template<class TrackingData >
bool valid (TrackingData &td) const
 Changed or contains original (invalid) value. More...
 
template<class TrackingData >
bool sameGeometry (const PointIntegrateData< DataType > &, const scalar tol, TrackingData &td) const
 Check for identical geometrical data (eg, cyclics checking) More...
 
template<class TrackingData >
void leaveDomain (const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
 
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 the data. More...
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointI, const label edgeI, const PointIntegrateData< DataType > &edgeInfo, const scalar tol, TrackingData &td)
 Influence of edge on point. More...
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointI, const PointIntegrateData< DataType > &newPointInfo, const scalar tol, TrackingData &td)
 Influence of different value on same point. More...
 
template<class TrackingData >
bool updatePoint (const PointIntegrateData< DataType > &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 PointIntegrateData< DataType > &pointInfo, const scalar tol, TrackingData &td)
 Influence of point on edge. More...
 
template<class TrackingData >
bool equal (const PointIntegrateData< DataType > &, TrackingData &td) const
 Test for equality, with TrackingData. More...
 
bool operator== (const PointIntegrateData< DataType > &) const
 Test for equality. More...
 
bool operator!= (const PointIntegrateData< DataType > &) const
 Test for inequality. More...
 

Friends

Ostreamoperator (Ostream &, const PointIntegrateData< DataType > &)
 
Istreamoperator>> (Istream &, PointIntegrateData< DataType > &)
 

Detailed Description

template<class DataType>
class Foam::PointIntegrateData< DataType >

Integrate along selected edges using PointEdgeWave.

Source files

Definition at line 59 of file PointIntegrateData.H.

Constructor & Destructor Documentation

◆ PointIntegrateData() [1/2]

Default construct.

Definition at line 34 of file PointIntegrateDataI.H.

◆ PointIntegrateData() [2/2]

PointIntegrateData ( const DataType &  data)
inline

Construct from data.

Definition at line 41 of file PointIntegrateDataI.H.

Member Function Documentation

◆ data() [1/2]

const DataType & data ( ) const
inline

Definition at line 99 of file PointIntegrateData.H.

◆ data() [2/2]

DataType & data ( )
inline

Definition at line 103 of file PointIntegrateData.H.

◆ valid()

bool valid ( TrackingData &  td) const
inline

Changed or contains original (invalid) value.

Definition at line 55 of file PointIntegrateDataI.H.

Referenced by PointIntegrateData< DataType >::updateEdge().

Here is the caller graph for this function:

◆ sameGeometry()

bool sameGeometry ( const PointIntegrateData< DataType > &  ,
const scalar  tol,
TrackingData &  td 
) const
inline

Check for identical geometrical data (eg, cyclics checking)

Definition at line 63 of file PointIntegrateDataI.H.

◆ leaveDomain()

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 76 of file PointIntegrateDataI.H.

◆ enterDomain()

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 88 of file PointIntegrateDataI.H.

◆ transform()

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

Apply rotation matrix to the data.

Definition at line 100 of file PointIntegrateDataI.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 PointIntegrateData< DataType > &  edgeInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of edge on point.

Definition at line 112 of file PointIntegrateDataI.H.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ updatePoint() [2/3]

bool updatePoint ( const polyMesh mesh,
const label  pointI,
const PointIntegrateData< DataType > &  newPointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of different value on same point.

Merge new and old info.

Definition at line 139 of file PointIntegrateDataI.H.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ updatePoint() [3/3]

bool updatePoint ( const PointIntegrateData< DataType > &  newPointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of different value on same point.

No information about current position whatsoever.

Definition at line 166 of file PointIntegrateDataI.H.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ updateEdge()

bool updateEdge ( const polyMesh mesh,
const label  edgeI,
const label  pointI,
const PointIntegrateData< DataType > &  pointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of point on edge.

Definition at line 190 of file PointIntegrateDataI.H.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, mesh, polyMesh::points(), and PointIntegrateData< DataType >::valid().

Here is the call graph for this function:

◆ equal()

bool equal ( const PointIntegrateData< DataType > &  pi,
TrackingData &  td 
) const
inline

Test for equality, with TrackingData.

Definition at line 220 of file PointIntegrateDataI.H.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ operator==()

bool operator== ( const PointIntegrateData< DataType > &  rhs) const
inline

Test for equality.

Definition at line 246 of file PointIntegrateDataI.H.

◆ operator!=()

bool operator!= ( const PointIntegrateData< DataType > &  rhs) const
inline

Test for inequality.

Definition at line 256 of file PointIntegrateDataI.H.

Friends And Related Function Documentation

◆ operator

Ostream & operator ( Ostream ,
const PointIntegrateData< DataType > &   
)
friend

◆ operator>>

Istream & operator>> ( Istream ,
PointIntegrateData< DataType > &   
)
friend

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