blendedEdgeInterpolation< Type > Class Template Reference

linear/upwind blended differencing scheme. More...

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

Public Member Functions

 TypeName ("blended")
 Runtime type information. More...
 
 blendedEdgeInterpolation (const faMesh &mesh, const edgeScalarField &faceFlux, const scalar blendingFactor)
 Construct from mesh, faceFlux and blendingFactor. More...
 
 blendedEdgeInterpolation (const faMesh &mesh, Istream &is)
 Construct from mesh and Istream. More...
 
 blendedEdgeInterpolation (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &is)
 Construct from mesh, faceFlux and Istream. More...
 
virtual tmp< edgeScalarFieldweights (const GeometricField< Type, faPatchField, areaMesh > &vf) const
 Return the interpolation weighting factors. More...
 
- Public Member Functions inherited from linearEdgeInterpolation< Type >
 TypeName ("linear")
 Runtime type information. More...
 
 linearEdgeInterpolation (const faMesh &mesh)
 Construct from mesh. More...
 
 linearEdgeInterpolation (const faMesh &mesh, Istream &)
 Construct from Istream. More...
 
 linearEdgeInterpolation (const faMesh &mesh, const edgeScalarField &, Istream &)
 Construct from faceFlux and Istream. More...
 
tmp< edgeScalarFieldweights (const GeometricField< Type, faPatchField, areaMesh > &) const
 Return the interpolation weighting factors. 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 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...
 
- Public Member Functions inherited from upwindEdgeInterpolation< Type >
 TypeName ("upwind")
 Runtime type information. More...
 
 upwindEdgeInterpolation (const faMesh &mesh, const edgeScalarField &faceFlux)
 Construct from faceFlux. More...
 
 upwindEdgeInterpolation (const faMesh &mesh, Istream &is)
 Construct from Istream. More...
 
 upwindEdgeInterpolation (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &)
 Construct from faceFlux and Istream. 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::blendedEdgeInterpolation< Type >

linear/upwind blended differencing scheme.

Source files

Definition at line 53 of file blendedEdgeInterpolation.H.

Constructor & Destructor Documentation

◆ blendedEdgeInterpolation() [1/3]

blendedEdgeInterpolation ( const faMesh mesh,
const edgeScalarField faceFlux,
const scalar  blendingFactor 
)
inline

Construct from mesh, faceFlux and blendingFactor.

Definition at line 82 of file blendedEdgeInterpolation.H.

◆ blendedEdgeInterpolation() [2/3]

blendedEdgeInterpolation ( const faMesh mesh,
Istream is 
)
inline

Construct from mesh and Istream.

The name of the flux field is read from the Istream and looked-up from the database

Definition at line 98 of file blendedEdgeInterpolation.H.

◆ blendedEdgeInterpolation() [3/3]

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

Construct from mesh, faceFlux and Istream.

Definition at line 118 of file blendedEdgeInterpolation.H.

Member Function Documentation

◆ TypeName()

TypeName ( "blended"  )

Runtime type information.

◆ weights()

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

Return the interpolation weighting factors.

Reimplemented from upwindEdgeInterpolation< Type >.

Definition at line 135 of file blendedEdgeInterpolation.H.

References linearEdgeInterpolation< Type >::weights().

Here is the call graph for this function:

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