leastSquaresEdgeInterpolation< Type > Class Template Reference

Least-squares edge interpolation scheme class, from face centers to points then from points to edges. More...

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

Public Member Functions

 TypeName ("leastSquares")
 Runtime type information. More...
 
 leastSquaresEdgeInterpolation (const faMesh &mesh)
 Construct from mesh. More...
 
 leastSquaresEdgeInterpolation (const faMesh &mesh, Istream &)
 Construct from Istream. More...
 
 leastSquaresEdgeInterpolation (const faMesh &mesh, const edgeScalarField &, Istream &)
 Construct from faceFlux and Istream. More...
 
tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate (const GeometricField< Type, faPatchField, areaMesh > &) const
 Return the edge-interpolate of the given face field. 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 > > 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::leastSquaresEdgeInterpolation< Type >

Least-squares edge interpolation scheme class, from face centers to points then from points to edges.

References:

    Governing equations (tag:P):
        Pesci, C. (2019).
        Computational analysis of fluid interfaces
        influenced by soluble surfactant.
        Darmstadt, Technische Universität. PhD thesis.
        URI:https://tuprints.ulb.tu-darmstadt.de/id/eprint/9303
Source files

Definition at line 61 of file leastSquaresEdgeInterpolation.H.

Constructor & Destructor Documentation

◆ leastSquaresEdgeInterpolation() [1/3]

leastSquaresEdgeInterpolation ( const faMesh mesh)
inline

Construct from mesh.

Definition at line 86 of file leastSquaresEdgeInterpolation.H.

◆ leastSquaresEdgeInterpolation() [2/3]

leastSquaresEdgeInterpolation ( const faMesh mesh,
Istream  
)
inline

Construct from Istream.

Definition at line 94 of file leastSquaresEdgeInterpolation.H.

◆ leastSquaresEdgeInterpolation() [3/3]

leastSquaresEdgeInterpolation ( const faMesh mesh,
const edgeScalarField ,
Istream  
)
inline

Construct from faceFlux and Istream.

Definition at line 103 of file leastSquaresEdgeInterpolation.H.

Member Function Documentation

◆ TypeName()

TypeName ( "leastSquares"  )

Runtime type information.

◆ interpolate()

◆ weights()

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

Return the interpolation weighting factors.

Implements edgeInterpolationScheme< Type >.

Definition at line 128 of file leastSquaresEdgeInterpolation.H.

References edgeInterpolationScheme< Type >::mesh().

Here is the call graph for this function:

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