upwindEdgeInterpolation< Type > Class Template Reference

Upwind differencing scheme class. More...

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

Public Member Functions

 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...
 
virtual 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 use_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::upwindEdgeInterpolation< Type >

Upwind differencing scheme class.

Source files

Definition at line 49 of file upwindEdgeInterpolation.H.

Constructor & Destructor Documentation

◆ upwindEdgeInterpolation() [1/3]

upwindEdgeInterpolation ( const faMesh mesh,
const edgeScalarField faceFlux 
)
inline

Construct from faceFlux.

Definition at line 80 of file upwindEdgeInterpolation.H.

◆ upwindEdgeInterpolation() [2/3]

upwindEdgeInterpolation ( const faMesh mesh,
Istream is 
)
inline

Construct from Istream.

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

Definition at line 96 of file upwindEdgeInterpolation.H.

◆ upwindEdgeInterpolation() [3/3]

upwindEdgeInterpolation ( const faMesh mesh,
const edgeScalarField faceFlux,
Istream  
)
inline

Construct from faceFlux and Istream.

Definition at line 115 of file upwindEdgeInterpolation.H.

Member Function Documentation

◆ TypeName()

TypeName ( "upwind"  )

Runtime type information.

◆ weights()

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

Return the interpolation weighting factors.

Implements edgeInterpolationScheme< Type >.

Reimplemented in blendedEdgeInterpolation< Type >.

Definition at line 132 of file upwindEdgeInterpolation.H.

References Foam::pos().

Here is the call graph for this function:

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