Catmull-Rom spline interpolation. More...


Public Member Functions | |
| TypeName ("spline") | |
| Runtime type information. More... | |
| splineInterpolationWeights (const scalarField &samples, const bool checkEqualDistance=true) | |
| Construct from components. By default make sure samples are. More... | |
| virtual | ~splineInterpolationWeights () |
| Destructor. More... | |
| virtual bool | valueWeights (const scalar t, labelList &indices, scalarField &weights) const |
| Calculate weights and indices to calculate t from samples. More... | |
| virtual bool | integrationWeights (const scalar t1, const scalar t2, labelList &indices, scalarField &weights) const |
| Calculate weights and indices to calculate integrand of t1..t2. More... | |
Public Member Functions inherited from interpolationWeights | |
| TypeName ("interpolationWeights") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, interpolationWeights, word,(const scalarField &samples),(samples)) | |
| interpolationWeights (const scalarField &samples) | |
| Construct from components. More... | |
| virtual | ~interpolationWeights () |
| Destructor. More... | |
| 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< interpolationWeights > | New (const word &type, const scalarField &samples) |
| Return a reference to the selected interpolationWeights. More... | |
| template<class ListType1 , class ListType2 > | |
| static outerProduct< typename ListType1::value_type, typename ListType2::value_type >::type | weightedSum (const ListType1 &f1, const ListType2 &f2) |
| Helper: weighted sum. More... | |
Protected Attributes inherited from interpolationWeights | |
| const scalarField & | samples_ |
Catmull-Rom spline interpolation.
Definition at line 48 of file splineInterpolationWeights.H.
| splineInterpolationWeights | ( | const scalarField & | samples, |
| const bool | checkEqualDistance = true |
||
| ) |
Construct from components. By default make sure samples are.
equidistant.
Definition at line 50 of file splineInterpolationWeights.C.
References Foam::endl(), Foam::mag(), Foam::nl, splineInterpolationWeights::valueWeights(), and WarningInFunction.

|
inlinevirtual |
Destructor.
Definition at line 77 of file splineInterpolationWeights.H.
References splineInterpolationWeights::integrationWeights(), and splineInterpolationWeights::valueWeights().

| TypeName | ( | "spline" | ) |
Runtime type information.
|
virtual |
Calculate weights and indices to calculate t from samples.
Returns true if indices changed.
Implements interpolationWeights.
Definition at line 82 of file splineInterpolationWeights.C.
References Foam::findLower(), Foam::constant::physicoChemical::mu, List< T >::setSize(), List< T >::size(), and linearInterpolationWeights::valueWeights().
Referenced by splineInterpolationWeights::splineInterpolationWeights(), and splineInterpolationWeights::~splineInterpolationWeights().


|
inlinevirtual |
Calculate weights and indices to calculate integrand of t1..t2.
from samples. Returns true if indices changed.
Implements interpolationWeights.
Definition at line 95 of file splineInterpolationWeights.H.
References NotImplemented.
Referenced by splineInterpolationWeights::~splineInterpolationWeights().

1.8.11