FvWallInfoDataBase< WallInfo, Type, Derived > Class Template Reference
Inheritance diagram for FvWallInfoDataBase< WallInfo, Type, Derived >:
Collaboration diagram for FvWallInfoDataBase< WallInfo, Type, Derived >:

Public Types

typedef Type dataType
 

Public Member Functions

 FvWallInfoDataBase ()
 Construct null. More...
 
template<class ... Geometry>
 FvWallInfoDataBase (const Type &data, const Geometry &... geometry)
 Construct from data and other geometry. More...
 
const Type & data () const
 
Type & data ()
 
template<class TrackingData >
const Type & data (TrackingData &td) const
 
template<class TrackingData >
void transform (const fvPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td)
 Transform across an interface. More...
 
- Public Member Functions inherited from FvWallInfoBase< WallInfo, Derived >
template<class TrackingData >
void transform (const fvPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td)
 Transform across an interface. More...
 
template<class TrackingData >
bool updateCell (const fvMesh &, const label thisCelli, const labelPair &neighbourPatchAndFacei, const FvWallInfoBase< WallInfo, Derived > &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring face. More...
 
template<class TrackingData >
bool updateFace (const fvMesh &, const labelPair &thisPatchAndFacei, const label neighbourCelli, const FvWallInfoBase< WallInfo, Derived > &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
template<class TrackingData >
bool updateFace (const fvMesh &, const labelPair &thisPatchAndFacei, const FvWallInfoBase< WallInfo, Derived > &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 

Protected Member Functions

template<class TrackingData >
bool update (const point &, const FvWallInfoDataBase< WallInfo, Type, Derived > &w2, const scalar tol, TrackingData &td)
 Evaluate distance to point. Update distSqr, origin from whomever. More...
 

Friends

class FvWallInfoBase< WallInfo, Derived >
 
Ostreamoperator (Ostream &, const FvWallInfoDataBase< WallInfo, Type, Derived > &)
 
Istreamoperator>> (Istream &, FvWallInfoDataBase< WallInfo, Type, Derived > &)
 

Detailed Description

template<class WallInfo, class Type, class Derived>
class Foam::FvWallInfoDataBase< WallInfo, Type, Derived >

Definition at line 49 of file FvWallInfoData.H.

Member Typedef Documentation

◆ dataType

typedef Type dataType

Definition at line 102 of file FvWallInfoData.H.

Constructor & Destructor Documentation

◆ FvWallInfoDataBase() [1/2]

FvWallInfoDataBase ( )
inline

Construct null.

Definition at line 55 of file FvWallInfoDataI.H.

Referenced by FvWallInfoDataBase< WallInfo, bool, FvWallInfoData< WallInfo, bool > >::FvWallInfoDataBase().

Here is the caller graph for this function:

◆ FvWallInfoDataBase() [2/2]

FvWallInfoDataBase ( const Type &  data,
const Geometry &...  geometry 
)
inline

Construct from data and other geometry.

Definition at line 65 of file FvWallInfoDataI.H.

Member Function Documentation

◆ update()

bool update ( const point pt,
const FvWallInfoDataBase< WallInfo, Type, Derived > &  w2,
const scalar  tol,
TrackingData &  td 
)
inlineprotected

Evaluate distance to point. Update distSqr, origin from whomever.

is nearer pt. Return true if w2 is closer to point.

Definition at line 33 of file FvWallInfoDataI.H.

Referenced by fvMesh::move(), perfectInterface::topoChange(), slidingInterface::topoChange(), list::update(), fvMesh::update(), FvWallInfoBase< WallInfo, FvWallInfo< WallInfo > >::updateCell(), WallPointBase< wallPoint >::updateCell(), WallFaceBase< wallFace >::updateCell(), WallPointBase< wallPoint >::updateFace(), and WallFaceBase< wallFace >::updateFace().

Here is the caller graph for this function:

◆ data() [1/3]

const Type & data ( ) const
inline

Definition at line 79 of file FvWallInfoDataI.H.

Referenced by FvWallInfoDataBase< WallInfo, bool, FvWallInfoData< WallInfo, bool > >::update().

Here is the caller graph for this function:

◆ data() [2/3]

Type & data ( )
inline

Definition at line 87 of file FvWallInfoDataI.H.

◆ data() [3/3]

const Type & data ( TrackingData &  td) const
inline

Definition at line 96 of file FvWallInfoDataI.H.

◆ transform()

void transform ( const fvPatch patch,
const label  patchFacei,
const transformer transform,
TrackingData &  td 
)
inline

Transform across an interface.

Definition at line 105 of file FvWallInfoDataI.H.

Referenced by FvWallInfoDataBase< WallInfo, bool, FvWallInfoData< WallInfo, bool > >::data().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ FvWallInfoBase< WallInfo, Derived >

friend class FvWallInfoBase< WallInfo, Derived >
friend

Definition at line 99 of file FvWallInfoData.H.

◆ operator

Ostream& operator ( Ostream ,
const FvWallInfoDataBase< WallInfo, Type, Derived > &   
)
friend

◆ operator>>

Istream& operator>> ( Istream ,
FvWallInfoDataBase< WallInfo, Type, Derived > &   
)
friend

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