The base class for 2D interpolators that use some kind of spacial convolution. More...
#include <mia/2d/interpolator.hh>
Public Types | |
| typedef T2DDatafield< typename coeff_map< T >::coeff_type > | TCoeff2D |
Public Member Functions | |
| T2DVector< T > | derivative_at (const C2DFVector &x) const |
| const TCoeff2D & | get_coefficients () const |
| T | operator() (const C2DFVector &x) const |
| T2DConvoluteInterpolator (const T2DDatafield< T > &data, PSplineKernel kernel) | |
| T2DConvoluteInterpolator (const T2DDatafield< T > &data, PSplineKernel kernel, const CSplineBoundaryCondition &xbc, const CSplineBoundaryCondition &ybc) | |
| ~T2DConvoluteInterpolator () | |
Public Member Functions inherited from T2DInterpolator< T > | |
| virtual | ~T2DInterpolator () |
Protected Types | |
| typedef std::vector< typename TCoeff2D::value_type > | coeff_vector |
| helper class for the coefficient field More... | |
The base class for 2D interpolators that use some kind of spacial convolution.
| T | data type to be interpolated |
This class provides the interface for 2D interpolation based on some kind of spacial convolution, like e.g. by using B-splines.
Definition at line 113 of file 2d/interpolator.hh.
|
protected |
helper class for the coefficient field
Definition at line 166 of file 2d/interpolator.hh.
| typedef T2DDatafield< typename coeff_map< T >::coeff_type > T2DConvoluteInterpolator< T >::TCoeff2D |
Data type of the field that holds the cofficients. Essentially, it uses the coeff_map template to translate whatever T is composed of to something that is composed of double float values to provide the required accuracy for interpolation.
Definition at line 157 of file 2d/interpolator.hh.
| T2DConvoluteInterpolator< T >::T2DConvoluteInterpolator | ( | const T2DDatafield< T > & | data, |
| PSplineKernel | kernel | ||
| ) |
Constructor for the interpolator. The input data is pre-filtered in order to ensure that the interpolation at grid points returns the original data values.
| data | input data to base th einterpolation on |
| kernel | the B-spline kernel to be used. |
| T2DConvoluteInterpolator< T >::T2DConvoluteInterpolator | ( | const T2DDatafield< T > & | data, |
| PSplineKernel | kernel, | ||
| const CSplineBoundaryCondition & | xbc, | ||
| const CSplineBoundaryCondition & | ybc | ||
| ) |
Construtor to prefilter the input for proper interpolation
| data | the data used for interpolation |
| kernel | the spline kernel used for interpolation |
| xbc | boundary conditions to be applied along the x-axis when interpolating |
| ybc | boundary conditions to be applied along the y-axis when interpolating |
| T2DConvoluteInterpolator< T >::~T2DConvoluteInterpolator | ( | ) |
|
virtual |
Evaluate the first order derivative on the given coordinate
| x | location |
Implements T2DInterpolator< T >.
| const TCoeff2D& T2DConvoluteInterpolator< T >::get_coefficients | ( | ) | const |
|
virtual |
Interpolate at the given input point
| x | input point |
Implements T2DInterpolator< T >.
1.8.6