|
dune-localfunctions 2.12-git
|
Loading...
Searching...
No Matches
Dune::LocalToGlobalInterpolationAdaptor< LocalInterpolation, Traits_ > Class Template Reference
Convert a local interpolation into a global interpolation. More...
#include <dune/localfunctions/common/localtoglobaladaptors.hh>
Inheritance diagram for Dune::LocalToGlobalInterpolationAdaptor< LocalInterpolation, Traits_ >:

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. | |
Detailed Description
template<class LocalInterpolation, class Traits_>
class Dune::LocalToGlobalInterpolationAdaptor< LocalInterpolation, Traits_ >
class Dune::LocalToGlobalInterpolationAdaptor< LocalInterpolation, Traits_ >
Convert a local interpolation into a global interpolation.
- Template Parameters
-
LocalInterpolation Type of the local interpolation to adapt. Traits_ Traits of the corresposnding basis class.
Member Typedef Documentation
◆ Traits
template<class LocalInterpolation , class Traits_ >
| typedef Traits_ Dune::LocalToGlobalInterpolationAdaptor< LocalInterpolation, Traits_ >::Traits |
Constructor & Destructor Documentation
◆ LocalToGlobalInterpolationAdaptor()
template<class LocalInterpolation , class Traits_ >
|
inline |
construct a LocalToGlobalInterpolationAdaptor
- Parameters
-
localInterpolation_ The local interpolation object to adapt.
- Note
- This class stores the reference to the local interpolation object passed here. Any use of this class after the reference have become invalid results in undefined behaviour. The exception is that the destructor of this class may still be called.
Member Function Documentation
◆ interpolate() [1/2]
template<typename F , typename C >
|
inherited |
Determine coefficients interpolating a given function.
- Parameters
-
f An object supporting the expression f.evaluate(x,y), wherexis of typeTraits::DomainLocalandyof the typeTraits::Range. Whenf.evaluate(x,y)is evaluated,xwill be a local coordinate , and the expression should setyto the function value at that position. The initial value ofyshould not be used.out Vector where to store the interpolated coefficients.
◆ interpolate() [2/2]
template<class LocalInterpolation , class Traits_ >
template<class Function , class Coeff >
|
inline |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8