Dune Core Modules (2.8.0)
Dune::PowerInterpolation< Backend, BasisTraits > Class Template Reference
Meta-interpolation turning a scalar interpolation into vector-valued interpolation. More...
#include <dune/localfunctions/meta/power/interpolation.hh>
Public Types | |
typedef BasisTraits | Traits |
Export basis traits. | |
Public Member Functions | |
PowerInterpolation (const Backend &backend_) | |
Construct a PowerInterpolation. More... | |
template<typename F , typename C > | |
void | interpolate (const F &ff, std::vector< C > &out) const |
Determine coefficients interpolating a given function. More... | |
Detailed Description
template<class Backend, class BasisTraits>
class Dune::PowerInterpolation< Backend, BasisTraits >
class Dune::PowerInterpolation< Backend, BasisTraits >
Meta-interpolation turning a scalar interpolation into vector-valued interpolation.
- Template Parameters
-
Backend Type of the scalar interpolation. BasisTraits Traits type of the corresponding PowerBasis.
Constructor & Destructor Documentation
◆ PowerInterpolation()
template<class Backend , class BasisTraits >
|
inline |
Construct a PowerInterpolation.
- Parameters
-
backend_ Backend interpolation object to construct this object from. This object holds a reference to the backend object. This reference is also copied when this object is copied.
Member Function Documentation
◆ interpolate()
template<class Backend , class BasisTraits >
template<typename F , typename C >
|
inline |
Determine coefficients interpolating a given function.
- Parameters
-
ff An object supporting the expression ff.evaluate(x,y)
, wherex
is of typeTraits::DomainLocal
andy
of the typeTraits::Range
. Whenf.evaluate(x,y)
is evaluated,x
will be a local coordinate, and the expression should sety
to the function value at that position. The initial value ofy
should not be used.out Vector where to store the interpolated coefficients.
The documentation for this class was generated from the following file:
- dune/localfunctions/meta/power/interpolation.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 22, 23:30, 2024)