pointEdgeLayerInfo Class Reference

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

Inheritance diagram for pointEdgeLayerInfo:

Public Member Functions

 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 pointEdgeLayerInfo &)
 
Istreamoperator>> (Istream &, pointEdgeLayerInfo &)
 

Detailed Description

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

Source files

Definition at line 60 of file pointEdgeLayerInfo.H.

Constructor & Destructor Documentation

◆ pointEdgeLayerInfo() [1/2]

pointEdgeLayerInfo ( )
inline

Construct null.

Definition at line 31 of file pointEdgeLayerInfoI.H.

◆ pointEdgeLayerInfo() [2/2]

pointEdgeLayerInfo ( const label  pointLayer)
inline

Construct given the point layer index.

Definition at line 37 of file pointEdgeLayerInfoI.H.

Member Function Documentation

◆ pointLayer()

Foam::label pointLayer ( ) const
inline

Return the point layer index.

Definition at line 45 of file pointEdgeLayerInfoI.H.

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

Here is the call graph for this function:

◆ edgeLayer()

Foam::label edgeLayer ( ) const
inline

Return the edge layer index.

Definition at line 58 of file pointEdgeLayerInfoI.H.

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

Here is the call graph for this function:

◆ valid()

bool valid ( TrackingData &  td) const
inline

Check whether info has been changed at all or.

still contains original (invalid) value

Definition at line 72 of file pointEdgeLayerInfoI.H.

References Foam::labelMax.

Referenced by mappedExtrudedPatchBase::patchLocalPoints(), and pointEdgeLayerInfo::updatePoint().

Here is the caller graph for this function:

◆ sameGeometry()

bool sameGeometry ( const pointEdgeLayerInfo l,
const scalar  tol,
TrackingData &  td 
) const
inline

Check for identical geometrical data. Used for cyclics checking.

Definition at line 79 of file pointEdgeLayerInfoI.H.

◆ transform()

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

Transform across an interface.

Definition at line 91 of file pointEdgeLayerInfoI.H.

◆ updatePoint() [1/3]

bool updatePoint ( const polyMesh mesh,
const label  pointi,
const label  edgei,
const pointEdgeLayerInfo edgeInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of edge on point.

Definition at line 102 of file pointEdgeLayerInfoI.H.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::blendedInterfacialModel::valid(), and pointEdgeLayerInfo::valid().

Referenced by PointEdgeLayerInfoData< Type >::updatePoint().

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

◆ updatePoint() [2/3]

bool updatePoint ( const polyMesh mesh,
const label  pointi,
const pointEdgeLayerInfo 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 pointEdgeLayerInfoI.H.

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

Here is the call graph for this function:

◆ updatePoint() [3/3]

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

Influence of different value on same point.

No old information.

Definition at line 156 of file pointEdgeLayerInfoI.H.

◆ updateEdge()

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

Influence of point on edge.

Definition at line 169 of file pointEdgeLayerInfoI.H.

References Foam::labelMax, and Foam::blendedInterfacialModel::valid().

Referenced by PointEdgeLayerInfoData< Type >::updateEdge().

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

◆ equal()

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

Same (like operator==)

Definition at line 191 of file pointEdgeLayerInfoI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const pointEdgeLayerInfo rhs) const
inline

Definition at line 203 of file pointEdgeLayerInfoI.H.

Referenced by PointEdgeLayerInfoData< Type >::operator==().

Here is the caller graph for this function:

◆ operator!=()

bool operator!= ( const pointEdgeLayerInfo rhs) const
inline

Definition at line 212 of file pointEdgeLayerInfoI.H.

Friends And Related Function Documentation

◆ operator<<

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

◆ operator>>

Istream& operator>> ( Istream ,
pointEdgeLayerInfo  
)
friend

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