Loading...
Searching...
No Matches
skewCorrectedEdgeInterpolation< Type > Class Template Reference

Linear/upwind blended differencing scheme. More...

#include <skewCorrectedEdgeInterpolation.H>

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

Public Member Functions

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

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.
static tmp< edgeInterpolationScheme< Type > > New (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData)
 Return new tmp interpolation scheme.
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.
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate (const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &)
 Return the face-interpolate of the given cell field.
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.

Detailed Description

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

Linear/upwind blended differencing scheme.

Source files

Definition at line 50 of file skewCorrectedEdgeInterpolation.H.

Constructor & Destructor Documentation

◆ skewCorrectedEdgeInterpolation() [1/3]

template<class Type>
skewCorrectedEdgeInterpolation ( const skewCorrectedEdgeInterpolation< Type > & )
delete

No copy construct.

References skewCorrectedEdgeInterpolation().

Referenced by operator=(), and skewCorrectedEdgeInterpolation().

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

◆ skewCorrectedEdgeInterpolation() [2/3]

template<class Type>
skewCorrectedEdgeInterpolation ( const faMesh & mesh,
Istream & is )
inline

◆ skewCorrectedEdgeInterpolation() [3/3]

template<class Type>
skewCorrectedEdgeInterpolation ( const faMesh & mesh,
const edgeScalarField & faceFlux,
Istream & is )
inline

Construct from mesh, faceFlux and blendingFactor.

Definition at line 101 of file skewCorrectedEdgeInterpolation.H.

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

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

template<class Type>
TypeName ( "skewCorrected" )

Runtime type information.

◆ operator=()

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

No copy assignment.

References skewCorrectedEdgeInterpolation().

Here is the call graph for this function:

◆ weights()

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

Return the interpolation weighting factors.

Implements edgeInterpolationScheme< Type >.

Definition at line 121 of file skewCorrectedEdgeInterpolation.H.

◆ corrected()

template<class Type>
virtual bool corrected ( ) const
inlinevirtual

Return true if this scheme uses an explicit correction.

Reimplemented from edgeInterpolationScheme< Type >.

Definition at line 132 of file skewCorrectedEdgeInterpolation.H.

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

Referenced by correction().

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

◆ skewCorrection()

◆ correction()

template<class Type>
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 193 of file skewCorrectedEdgeInterpolation.H.

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

Here is the call graph for this function:

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