PointEdgeLayerInfoData< Type > Class Template Reference

Class to be used with PointEdgeWave which enumerates layers of points. More...

Inheritance diagram for PointEdgeLayerInfoData< Type >:
Collaboration diagram for PointEdgeLayerInfoData< Type >:

Public Member Functions

 PointEdgeLayerInfoData ()
 Construct null. More...
 
 PointEdgeLayerInfoData (const label pointLayer, const Type &data)
 Construct given the point layer index. More...
 
const Type & data () const
 Return the data. More...
 
template<class TrackingData >
void transform (const polyPatch &patch, const label patchPointi, 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 PointEdgeLayerInfoData< Type > &edgeInfo, const scalar tol, TrackingData &td)
 Influence of edge on point. More...
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointi, const PointEdgeLayerInfoData< Type > &newPointInfo, const scalar tol, TrackingData &td)
 Influence of different value on same point. More...
 
template<class TrackingData >
bool updatePoint (const PointEdgeLayerInfoData< Type > &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 PointEdgeLayerInfoData< Type > &pointInfo, const scalar tol, TrackingData &td)
 Influence of point on edge. More...
 
template<class TrackingData >
bool equal (const PointEdgeLayerInfoData< Type > &, TrackingData &td) const
 Same (like operator==) More...
 
bool operator== (const PointEdgeLayerInfoData< Type > &) const
 
bool operator!= (const PointEdgeLayerInfoData< Type > &) const
 
- Public Member Functions inherited from pointEdgeLayerInfo
 pointEdgeLayerInfo ()
 Construct null. More...
 
 pointEdgeLayerInfo (const label pointLayer)
 Construct given the point layer index. More...
 
label pointLayer () const
 Return the point layer index. More...
 
label edgeLayer () const
 Return the edge layer index. More...
 
template<class TrackingData >
bool valid (TrackingData &td) const
 Check whether info has been changed at all or. More...
 
template<class TrackingData >
bool sameGeometry (const pointEdgeLayerInfo &, const scalar tol, TrackingData &td) const
 Check for identical geometrical data. Used for cyclics checking. More...
 
template<class TrackingData >
void transform (const polyPatch &patch, const label patchPointi, 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 pointEdgeLayerInfo &edgeInfo, const scalar tol, TrackingData &td)
 Influence of edge on point. More...
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointi, const pointEdgeLayerInfo &newPointInfo, const scalar tol, TrackingData &td)
 Influence of different value on same point. More...
 
template<class TrackingData >
bool updatePoint (const pointEdgeLayerInfo &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 pointEdgeLayerInfo &pointInfo, const scalar tol, TrackingData &td)
 Influence of point on edge. More...
 
template<class TrackingData >
bool equal (const pointEdgeLayerInfo &, TrackingData &td) const
 Same (like operator==) More...
 
bool operator== (const pointEdgeLayerInfo &) const
 
bool operator!= (const pointEdgeLayerInfo &) const
 

Friends

Ostreamoperator (Ostream &, const PointEdgeLayerInfoData< Type > &)
 
Istreamoperator>> (Istream &, PointEdgeLayerInfoData< Type > &)
 

Detailed Description

template<class Type>
class Foam::PointEdgeLayerInfoData< Type >

Class to be used with PointEdgeWave which enumerates layers of points.

Source files

Definition at line 62 of file PointEdgeLayerInfoData.H.

Constructor & Destructor Documentation

◆ PointEdgeLayerInfoData() [1/2]

Construct null.

Definition at line 32 of file PointEdgeLayerInfoDataI.H.

◆ PointEdgeLayerInfoData() [2/2]

PointEdgeLayerInfoData ( const label  pointLayer,
const Type &  data 
)
inline

Construct given the point layer index.

Definition at line 40 of file PointEdgeLayerInfoDataI.H.

Member Function Documentation

◆ data()

const Type & data
inline

Return the data.

Definition at line 54 of file PointEdgeLayerInfoDataI.H.

Referenced by mappedExtrudedPatchBase::patchLocalPoints().

Here is the caller graph for this function:

◆ transform()

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

Transform across an interface.

Definition at line 62 of file PointEdgeLayerInfoDataI.H.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and 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 PointEdgeLayerInfoData< Type > &  edgeInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of edge on point.

Definition at line 81 of file PointEdgeLayerInfoDataI.H.

References pointEdgeLayerInfo::updatePoint().

Here is the call graph for this function:

◆ updatePoint() [2/3]

bool updatePoint ( const polyMesh mesh,
const label  pointi,
const PointEdgeLayerInfoData< Type > &  newPointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of different value on same point.

Merge new and old info.

Definition at line 105 of file PointEdgeLayerInfoDataI.H.

References pointEdgeLayerInfo::updatePoint().

Here is the call graph for this function:

◆ updatePoint() [3/3]

bool updatePoint ( const PointEdgeLayerInfoData< Type > &  newPointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of different value on same point.

No old information.

Definition at line 128 of file PointEdgeLayerInfoDataI.H.

References pointEdgeLayerInfo::updatePoint().

Here is the call graph for this function:

◆ updateEdge()

bool updateEdge ( const polyMesh mesh,
const label  edgei,
const label  pointi,
const PointEdgeLayerInfoData< Type > &  pointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of point on edge.

Definition at line 149 of file PointEdgeLayerInfoDataI.H.

References pointEdgeLayerInfo::updateEdge().

Here is the call graph for this function:

◆ equal()

bool equal ( const PointEdgeLayerInfoData< Type > &  rhs,
TrackingData &  td 
) const
inline

Same (like operator==)

Definition at line 173 of file PointEdgeLayerInfoDataI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const PointEdgeLayerInfoData< Type > &  rhs) const
inline

Definition at line 186 of file PointEdgeLayerInfoDataI.H.

References pointEdgeLayerInfo::operator==().

Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const PointEdgeLayerInfoData< Type > &  rhs) const
inline

Definition at line 196 of file PointEdgeLayerInfoDataI.H.

Friends And Related Function Documentation

◆ operator

Ostream& operator ( Ostream ,
const PointEdgeLayerInfoData< Type > &   
)
friend

◆ operator>>

Istream& operator>> ( Istream ,
PointEdgeLayerInfoData< Type > &   
)
friend

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