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

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

#include <leastSquaresEdgeInterpolation.H>

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

Public Member Functions

 TypeName ("leastSquares")
 Runtime type information.
 leastSquaresEdgeInterpolation (const leastSquaresEdgeInterpolation &)=delete
 No copy construct.
void operator= (const leastSquaresEdgeInterpolation &)=delete
 No copy assignment.
 leastSquaresEdgeInterpolation (const faMesh &mesh)
 Construct from mesh.
 leastSquaresEdgeInterpolation (const faMesh &mesh, Istream &)
 Construct from Istream.
 leastSquaresEdgeInterpolation (const faMesh &mesh, const edgeScalarField &, Istream &)
 Construct from faceFlux and Istream.
tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate (const GeometricField< Type, faPatchField, areaMesh > &) const
 Return the edge-interpolate of the given face field.
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 > > 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::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/4]

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

No copy construct.

References leastSquaresEdgeInterpolation().

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

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

◆ leastSquaresEdgeInterpolation() [2/4]

template<class Type>
leastSquaresEdgeInterpolation ( const faMesh & mesh)
inline

Construct from mesh.

Definition at line 92 of file leastSquaresEdgeInterpolation.H.

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

Here is the call graph for this function:

◆ leastSquaresEdgeInterpolation() [3/4]

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

Construct from Istream.

Definition at line 100 of file leastSquaresEdgeInterpolation.H.

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

Here is the call graph for this function:

◆ leastSquaresEdgeInterpolation() [4/4]

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

Construct from faceFlux and Istream.

Definition at line 108 of file leastSquaresEdgeInterpolation.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 ( "leastSquares" )

Runtime type information.

◆ operator=()

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

No copy assignment.

References leastSquaresEdgeInterpolation().

Here is the call graph for this function:

◆ interpolate()

◆ weights()

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

Return the interpolation weighting factors.

Implements edgeInterpolationScheme< Type >.

Definition at line 133 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: