Public Member Functions | List of all members
splineInterpolationWeights Class Reference

Catmull-Rom spline interpolation. More...

Inheritance diagram for splineInterpolationWeights:
Inheritance graph
[legend]
Collaboration diagram for splineInterpolationWeights:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("spline")
 
 splineInterpolationWeights (const scalarField &samples, const bool checkEqualDistance=true)
 
virtual ~splineInterpolationWeights ()=default
 
virtual bool valueWeights (const scalar t, labelList &indices, scalarField &weights) const
 
virtual bool integrationWeights (const scalar t1, const scalar t2, labelList &indices, scalarField &weights) const
 
- Public Member Functions inherited from interpolationWeights
 TypeName ("interpolationWeights")
 
 declareRunTimeSelectionTable (autoPtr, interpolationWeights, word,(const scalarField &samples),(samples))
 
 interpolationWeights (const scalarField &samples)
 
virtual ~interpolationWeights ()=default
 
template<class ListType1 , class ListType2 >
Foam::outerProduct< typename ListType1::value_type, typename ListType2::value_type >::type weightedSum (const ListType1 &f1, const ListType2 &f2)
 

Additional Inherited Members

- Static Public Member Functions inherited from interpolationWeights
static autoPtr< interpolationWeightsNew (const word &type, const scalarField &samples)
 
template<class ListType1 , class ListType2 >
static outerProduct< typename ListType1::value_type, typename ListType2::value_type >::type weightedSum (const ListType1 &f1, const ListType2 &f2)
 
- Protected Member Functions inherited from interpolationWeights
 interpolationWeights (const interpolationWeights &)=delete
 
void operator= (const interpolationWeights &)=delete
 
- Protected Attributes inherited from interpolationWeights
const scalarFieldsamples_
 

Detailed Description

Catmull-Rom spline interpolation.

Source files

Definition at line 47 of file splineInterpolationWeights.H.

Constructor & Destructor Documentation

◆ splineInterpolationWeights()

splineInterpolationWeights ( const scalarField samples,
const bool  checkEqualDistance = true 
)
explicit

Definition at line 44 of file splineInterpolationWeights.C.

References Foam::endl(), Foam::mag(), Foam::nl, samples(), and WarningInFunction.

Here is the call graph for this function:

◆ ~splineInterpolationWeights()

virtual ~splineInterpolationWeights ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "spline"  )

◆ valueWeights()

bool valueWeights ( const scalar  t,
labelList indices,
scalarField weights 
) const
virtual

Implements interpolationWeights.

Definition at line 76 of file splineInterpolationWeights.C.

References Foam::findLower(), Foam::constant::physicoChemical::mu, List::setSize(), linearInterpolationWeights::valueWeights(), w0, w1, w2, and w3.

Here is the call graph for this function:

◆ integrationWeights()

virtual bool integrationWeights ( const scalar  t1,
const scalar  t2,
labelList indices,
scalarField weights 
) const
inlinevirtual

Implements interpolationWeights.

Definition at line 93 of file splineInterpolationWeights.H.

References NotImplemented.


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