dune-localfunctions 2.10
|
Convert a local interpolation into a global interpolation. More...
#include <dune/localfunctions/common/localtoglobaladaptors.hh>
Public Types | |
typedef Traits_ | Traits |
Public Member Functions | |
LocalToGlobalInterpolationAdaptor (const LocalInterpolation &localInterpolation_) | |
construct a LocalToGlobalInterpolationAdaptor | |
template<class Function , class Coeff > | |
void | interpolate (const Function &function, std::vector< Coeff > &out) const |
template<typename F , typename C > | |
void | interpolate (const F &f, std::vector< C > &out) const |
Determine coefficients interpolating a given function. | |
Convert a local interpolation into a global interpolation.
LocalInterpolation | Type of the local interpolation to adapt. |
Traits_ | Traits of the corresposnding basis class. |
typedef Traits_ Dune::LocalToGlobalInterpolationAdaptor< LocalInterpolation, Traits_ >::Traits |
|
inline |
construct a LocalToGlobalInterpolationAdaptor
localInterpolation_ | The local interpolation object to adapt. |
|
inherited |
Determine coefficients interpolating a given function.
f | An object supporting the expression f.evaluate(x,y) , where x is of type Traits::DomainLocal and y of the type Traits::Range . When f.evaluate(x,y) is evaluated, x will be a local coordinate , and the expression should set y to the function value at that position. The initial value of y should not be used. |
out | Vector where to store the interpolated coefficients. |
|
inline |