meshPhiPreCorrectInfo Class Reference

Public Member Functions

 meshPhiPreCorrectInfo ()
 Construct null. More...
 
 meshPhiPreCorrectInfo (const label layer, const scalar weight)
 Construct given the layer index and weight. More...
 
label layer () const
 Return the layer index. More...
 
scalar weight () const
 Return the weight. More...
 
template<class TrackingData >
bool valid (TrackingData &td) const
 Check whether the meshPhiPreCorrectInfo has been changed at all. More...
 
template<class TrackingData >
bool sameGeometry (const fvMesh &mesh, const meshPhiPreCorrectInfo &, const scalar, TrackingData &td) const
 Check for identical geometrical data. Used for checking. More...
 
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 &mesh, const label thisCelli, const labelPair &neighbourPatchAndFacei, const meshPhiPreCorrectInfo &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring face. More...
 
template<class TrackingData >
bool updateFace (const fvMesh &mesh, const labelPair &thisPatchAndFacei, const label neighbourCelli, const meshPhiPreCorrectInfo &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
template<class TrackingData >
bool updateFace (const fvMesh &mesh, const labelPair &thisPatchAndFacei, const meshPhiPreCorrectInfo &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 
template<class TrackingData >
bool equal (const meshPhiPreCorrectInfo &, TrackingData &td) const
 Test equality. More...
 
bool operator== (const meshPhiPreCorrectInfo &) const
 
bool operator!= (const meshPhiPreCorrectInfo &) const
 

Friends

Ostreamoperator<< (Ostream &, const meshPhiPreCorrectInfo &)
 
Istreamoperator>> (Istream &, meshPhiPreCorrectInfo &)
 

Detailed Description

Constructor & Destructor Documentation

◆ meshPhiPreCorrectInfo() [1/2]

Construct null.

Definition at line 31 of file meshPhiPreCorrectInfoI.H.

◆ meshPhiPreCorrectInfo() [2/2]

meshPhiPreCorrectInfo ( const label  layer,
const scalar  weight 
)
inline

Construct given the layer index and weight.

Definition at line 38 of file meshPhiPreCorrectInfoI.H.

Member Function Documentation

◆ layer()

Foam::label layer ( ) const
inline

Return the layer index.

Definition at line 51 of file meshPhiPreCorrectInfoI.H.

Referenced by meshPhiCorrectInfo::updateCell(), and meshPhiCorrectInfo::updateFace().

Here is the caller graph for this function:

◆ weight()

Foam::scalar weight ( ) const
inline

Return the weight.

Definition at line 57 of file meshPhiPreCorrectInfoI.H.

Referenced by meshPhiCorrectInfo::updateFace().

Here is the caller graph for this function:

◆ valid()

bool valid ( TrackingData &  td) const
inline

Check whether the meshPhiPreCorrectInfo has been changed at all.

or still contains original (invalid) value.

Definition at line 64 of file meshPhiPreCorrectInfoI.H.

References Foam::labelMax.

◆ sameGeometry()

bool sameGeometry ( const fvMesh mesh,
const meshPhiPreCorrectInfo l,
const scalar  tol,
TrackingData &  td 
) const
inline

Check for identical geometrical data. Used for checking.

consistency across cyclics.

Definition at line 71 of file meshPhiPreCorrectInfoI.H.

◆ transform()

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

Transform across an interface.

Definition at line 84 of file meshPhiPreCorrectInfoI.H.

◆ updateCell()

bool updateCell ( const fvMesh mesh,
const label  thisCelli,
const labelPair neighbourPatchAndFacei,
const meshPhiPreCorrectInfo neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring face.

Definition at line 95 of file meshPhiPreCorrectInfoI.H.

References Foam::blendedInterfacialModel::valid().

Here is the call graph for this function:

◆ updateFace() [1/2]

bool updateFace ( const fvMesh mesh,
const labelPair thisPatchAndFacei,
const label  neighbourCelli,
const meshPhiPreCorrectInfo neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring cell.

Definition at line 125 of file meshPhiPreCorrectInfoI.H.

References Foam::blendedInterfacialModel::valid().

Here is the call graph for this function:

◆ updateFace() [2/2]

bool updateFace ( const fvMesh mesh,
const labelPair thisPatchAndFacei,
const meshPhiPreCorrectInfo neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of different value on same face.

Definition at line 154 of file meshPhiPreCorrectInfoI.H.

◆ equal()

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

Test equality.

Definition at line 174 of file meshPhiPreCorrectInfoI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const meshPhiPreCorrectInfo rhs) const
inline

Definition at line 186 of file meshPhiPreCorrectInfoI.H.

◆ operator!=()

bool operator!= ( const meshPhiPreCorrectInfo rhs) const
inline

Definition at line 195 of file meshPhiPreCorrectInfoI.H.

Friends And Related Function Documentation

◆ operator<<

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

◆ operator>>

Istream& operator>> ( Istream ,
meshPhiPreCorrectInfo  
)
friend

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