skewCorrectedEdgeInterpolation< Type > Class Template Reference

Linear/upwind blended differencing scheme. More...

Inheritance diagram for skewCorrectedEdgeInterpolation< Type >:
[legend]
Collaboration diagram for skewCorrectedEdgeInterpolation< Type >:
[legend]

Public Member Functions

 TypeName ("skewCorrected")
 Runtime type information. More...
 
 skewCorrectedEdgeInterpolation (const faMesh &mesh, Istream &is)
 Construct from Istream. More...
 
 skewCorrectedEdgeInterpolation (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &is)
 Construct from mesh, faceFlux and blendingFactor. More...
 
 skewCorrectedEdgeInterpolation (const skewCorrectedEdgeInterpolation &)=delete
 No copy construct. More...
 
void operator= (const skewCorrectedEdgeInterpolation &)=delete
 No copy assignment. More...
 
virtual tmp< edgeScalarFieldweights (const GeometricField< Type, faPatchField, areaMesh > &vf) const
 Return the interpolation weighting factors. More...
 
virtual bool corrected () const
 Return true if this scheme uses an explicit correction. More...
 
tmp< GeometricField< Type, faePatchField, edgeMesh > > skewCorrection (const GeometricField< Type, faPatchField, areaMesh > &vf) const
 
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > correction (const GeometricField< Type, faPatchField, areaMesh > &vf) const
 Return the explicit correction to the face-interpolate. More...
 
- Public Member Functions inherited from edgeInterpolationScheme< Type >
 declareRunTimeSelectionTable (tmp, edgeInterpolationScheme, Mesh,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 declareRunTimeSelectionTable (tmp, edgeInterpolationScheme, MeshFlux,(const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData))
 
 edgeInterpolationScheme (const faMesh &mesh)
 Construct from mesh. More...
 
virtual ~edgeInterpolationScheme ()
 
const faMeshmesh () const
 Return mesh reference. More...
 
virtual tmp< edgeScalarFieldweights (const GeometricField< Type, faPatchField, areaMesh > &) const =0
 Return the interpolation weighting factors for the given field. More...
 
virtual bool corrected () const
 Return true if this scheme uses an explicit correction. More...
 
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > correction (const GeometricField< Type, faPatchField, areaMesh > &) const
 Return the explicit correction to the face-interpolate. More...
 
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate (const GeometricField< Type, faPatchField, areaMesh > &) const
 Return the face-interpolate of the given cell field. More...
 
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > euclidianInterpolate (const GeometricField< Type, faPatchField, areaMesh > &) const
 Return the euclidian edge-interpolate of the given area field. More...
 
tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate (const tmp< GeometricField< Type, faPatchField, areaMesh > > &) const
 Return the face-interpolate of the given tmp cell field. More...
 
- Public Member Functions inherited from refCount
constexpr refCount () noexcept
 Default construct, initializing count to 0. More...
 
int count () const noexcept
 Return the current reference count. More...
 
bool unique () const noexcept
 Return true if the reference count is zero. More...
 
void operator++ () noexcept
 Increment the reference count. More...
 
void operator++ (int) noexcept
 Increment the reference count. More...
 
void operator-- () noexcept
 Decrement the reference count. More...
 
void operator-- (int) noexcept
 Decrement the reference count. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from edgeInterpolationScheme< Type >
static tmp< edgeInterpolationScheme< Type > > New (const faMesh &mesh, Istream &schemeData)
 Return new tmp interpolation scheme. More...
 
static tmp< edgeInterpolationScheme< Type > > New (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData)
 Return new tmp interpolation scheme. More...
 
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate (const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &, const tmp< edgeScalarField > &)
 Return the face-interpolate of the given cell field. More...
 
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate (const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &)
 Return the face-interpolate of the given cell field. More...
 
static tmp< GeometricField< Type, faePatchField, edgeMesh > > euclidianInterpolate (const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &)
 Return the euclidian edge-interpolate of the given area field. More...
 

Detailed Description

template<class Type>
class Foam::skewCorrectedEdgeInterpolation< Type >

Linear/upwind blended differencing scheme.

Source files

Definition at line 56 of file skewCorrectedEdgeInterpolation.H.

Constructor & Destructor Documentation

◆ skewCorrectedEdgeInterpolation() [1/3]

skewCorrectedEdgeInterpolation ( const faMesh mesh,
Istream is 
)
inline

Construct from Istream.

Definition at line 74 of file skewCorrectedEdgeInterpolation.H.

◆ skewCorrectedEdgeInterpolation() [2/3]

skewCorrectedEdgeInterpolation ( const faMesh mesh,
const edgeScalarField faceFlux,
Istream is 
)
inline

Construct from mesh, faceFlux and blendingFactor.

Definition at line 84 of file skewCorrectedEdgeInterpolation.H.

◆ skewCorrectedEdgeInterpolation() [3/3]

No copy construct.

Member Function Documentation

◆ TypeName()

TypeName ( "skewCorrected"  )

Runtime type information.

◆ operator=()

void operator= ( const skewCorrectedEdgeInterpolation< Type > &  )
delete

No copy assignment.

◆ weights()

virtual tmp< edgeScalarField > weights ( const GeometricField< Type, faPatchField, areaMesh > &  vf) const
inlinevirtual

Return the interpolation weighting factors.

Implements edgeInterpolationScheme< Type >.

Definition at line 109 of file skewCorrectedEdgeInterpolation.H.

◆ corrected()

virtual bool corrected ( ) const
inlinevirtual

Return true if this scheme uses an explicit correction.

Reimplemented from edgeInterpolationScheme< Type >.

Definition at line 118 of file skewCorrectedEdgeInterpolation.H.

References edgeInterpolationScheme< Type >::mesh(), and Foam::skew().

Referenced by skewCorrectedEdgeInterpolation< Type >::correction().

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

◆ skewCorrection()

tmp< GeometricField< Type, faePatchField, edgeMesh > > skewCorrection ( const GeometricField< Type, faPatchField, areaMesh > &  vf) const
inline

Definition at line 125 of file skewCorrectedEdgeInterpolation.H.

References GeometricField< Type, PatchField, GeoMesh >::component(), IOobject::db(), DimensionedField< Type, GeoMesh >::dimensions(), IOobject::instance(), edgeInterpolationScheme< Type >::interpolate(), edgeInterpolationScheme< Type >::mesh(), IOobject::name(), tmp< T >::ref(), GeometricField< Type, PatchField, GeoMesh >::replace(), edgeInterpolation::skewCorrectionVectors(), Foam::type(), and Foam::Zero.

Referenced by skewCorrectedEdgeInterpolation< Type >::correction().

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

◆ correction()

virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > correction ( const GeometricField< Type, faPatchField, areaMesh > &  vf) const
inlinevirtual

Return the explicit correction to the face-interpolate.

Reimplemented from edgeInterpolationScheme< Type >.

Definition at line 177 of file skewCorrectedEdgeInterpolation.H.

References skewCorrectedEdgeInterpolation< Type >::corrected(), edgeInterpolationScheme< Type >::mesh(), Foam::skew(), and skewCorrectedEdgeInterpolation< Type >::skewCorrection().

Here is the call graph for this function:

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