|
dune-localfunctions
2.2.0
|
Convert a local interpolation into a global interpolation. More...
#include <dune/localfunctions/common/localtoglobaladaptors.hh>
Public Types | |
| typedef Traits_ | Traits |
| Export basis 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 |
Export basis traits.
This should be the traits class of the corresponding basis.
Reimplemented from Dune::InterpolationInterface.
| Dune::LocalToGlobalInterpolationAdaptor< LocalInterpolation, Traits_ >::LocalToGlobalInterpolationAdaptor | ( | const LocalInterpolation & | localInterpolation_ | ) | [inline] |
construct a LocalToGlobalInterpolationAdaptor
| localInterpolation_ | The local interpolation object to adapt. |
| void Dune::LocalToGlobalInterpolationAdaptor< LocalInterpolation, Traits_ >::interpolate | ( | const Function & | function, |
| std::vector< Coeff > & | out | ||
| ) | const [inline] |
| void Dune::InterpolationInterface::interpolate | ( | const F & | f, |
| std::vector< C > & | out | ||
| ) | const [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. |
1.7.6.1