- Home
- About DUNE
- Download
- Documentation
- Community
- Development
Interface for global-valued interpolation. More...
#include <dune/localfunctions/common/interface.hh>
Public Types | |
typedef BasisInterface::Traits | Traits |
Export basis traits. | |
Public Member Functions | |
template<typename F , typename C > | |
void | interpolate (const F &f, std::vector< C > &out) const |
Determine coefficients interpolating a given function. |
Interface for global-valued interpolation.
Export basis traits.
This should be the traits class of the corresponding basis.
Reimplemented in Dune::LocalToGlobalInterpolationAdaptor< LocalInterpolation, Traits_ >, Dune::LocalToGlobalInterpolationAdaptor< LocalInterpolation, typename Basis::Traits >, and Dune::LocalToGlobalInterpolationAdaptor< typename LocalFiniteElement::Traits::LocalInterpolationType, typename Basis::Traits >.
void Dune::InterpolationInterface::interpolate | ( | const F & | f, | |
std::vector< C > & | out | |||
) | const |
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. |
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].