Loading...
Searching...
No Matches
PointIntegrateData< DataType > Class Template Reference

Integrate along selected edges using PointEdgeWave. More...

#include <PointIntegrateData.H>

Classes

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

Public Member Functions

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

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 55 of file PointIntegrateData.H.

Constructor & Destructor Documentation

◆ PointIntegrateData() [1/2]

template<class DataType>
PointIntegrateData ( )
inline

Default construct.

Definition at line 27 of file PointIntegrateDataI.H.

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

Here is the caller graph for this function:

◆ PointIntegrateData() [2/2]

template<class DataType>
PointIntegrateData ( const DataType & data)
inline

Construct from data.

Definition at line 34 of file PointIntegrateDataI.H.

References data().

Here is the call graph for this function:

Member Function Documentation

◆ data() [1/2]

template<class DataType>
const DataType & data ( ) const
inline

Definition at line 105 of file PointIntegrateData.H.

Referenced by PointIntegrateData().

Here is the caller graph for this function:

◆ data() [2/2]

template<class DataType>
DataType & data ( )
inline

Definition at line 109 of file PointIntegrateData.H.

◆ valid()

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

Changed or contains original (invalid) value.

Definition at line 48 of file PointIntegrateDataI.H.

References td().

Referenced by updateEdge().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sameGeometry()

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

Check for identical geometrical data (eg, cyclics checking).

Definition at line 56 of file PointIntegrateDataI.H.

References PointIntegrateData(), and td().

Here is the call graph for this function:

◆ leaveDomain()

template<class DataType>
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 69 of file PointIntegrateDataI.H.

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

Here is the call graph for this function:

◆ enterDomain()

template<class DataType>
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 81 of file PointIntegrateDataI.H.

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

Here is the call graph for this function:

◆ transform()

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

Apply rotation matrix to the data.

Definition at line 93 of file PointIntegrateDataI.H.

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

Here is the call graph for this function:

◆ updatePoint() [1/3]

template<class DataType>
template<class TrackingData>
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 105 of file PointIntegrateDataI.H.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, mesh, PointIntegrateData(), and td().

Here is the call graph for this function:

◆ updatePoint() [2/3]

template<class DataType>
template<class TrackingData>
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 132 of file PointIntegrateDataI.H.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, mesh, PointIntegrateData(), and td().

Here is the call graph for this function:

◆ updatePoint() [3/3]

template<class DataType>
template<class TrackingData>
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 159 of file PointIntegrateDataI.H.

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

Here is the call graph for this function:

◆ updateEdge()

template<class DataType>
template<class TrackingData>
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 183 of file PointIntegrateDataI.H.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, mesh, PointIntegrateData(), td(), and valid().

Here is the call graph for this function:

◆ equal()

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

Test for equality, with TrackingData.

Definition at line 213 of file PointIntegrateDataI.H.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, pi(), PointIntegrateData(), and td().

Here is the call graph for this function:

◆ operator==()

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

Test for equality.

Definition at line 239 of file PointIntegrateDataI.H.

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

Here is the call graph for this function:

◆ operator!=()

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

Test for inequality.

Definition at line 249 of file PointIntegrateDataI.H.

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

Here is the call graph for this function:

◆ operator<<

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

References PointIntegrateData().

◆ operator>>

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

References PointIntegrateData().


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