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

Upwind differencing scheme class. More...

#include <upwindEdgeInterpolation.H>

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

Public Member Functions

 TypeName ("upwind")
 Runtime type information.
 upwindEdgeInterpolation (const upwindEdgeInterpolation &)=delete
 No copy construct.
void operator= (const upwindEdgeInterpolation &)=delete
 No copy assignment.
 upwindEdgeInterpolation (const faMesh &mesh, const edgeScalarField &faceFlux)
 Construct from faceFlux.
 upwindEdgeInterpolation (const faMesh &mesh, Istream &is)
 Construct from Istream.
 upwindEdgeInterpolation (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &)
 Construct from faceFlux and Istream.
virtual tmp< edgeScalarFieldweights (const GeometricField< Type, faPatchField, areaMesh > &) const
 Return the interpolation weighting factors.
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 bool corrected () const
 Return true if this scheme uses an explicit correction.
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > correction (const GeometricField< Type, faPatchField, areaMesh > &) const
 Return the explicit correction to the face-interpolate.
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::upwindEdgeInterpolation< Type >

Upwind differencing scheme class.

Source files

Definition at line 49 of file upwindEdgeInterpolation.H.

Constructor & Destructor Documentation

◆ upwindEdgeInterpolation() [1/4]

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

◆ upwindEdgeInterpolation() [2/4]

template<class Type>
upwindEdgeInterpolation ( const faMesh & mesh,
const edgeScalarField & faceFlux )
inline

Construct from faceFlux.

Definition at line 87 of file upwindEdgeInterpolation.H.

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

Here is the call graph for this function:

◆ upwindEdgeInterpolation() [3/4]

template<class Type>
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 103 of file upwindEdgeInterpolation.H.

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

Here is the call graph for this function:

◆ upwindEdgeInterpolation() [4/4]

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

Construct from faceFlux and Istream.

Definition at line 122 of file upwindEdgeInterpolation.H.

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

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

template<class Type>
TypeName ( "upwind" )

Runtime type information.

◆ operator=()

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

No copy assignment.

References upwindEdgeInterpolation().

Here is the call graph for this function:

◆ weights()

template<class Type>
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 139 of file upwindEdgeInterpolation.H.

References Foam::pos().

Referenced by blendedEdgeInterpolation< Type >::weights().

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

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