Dune Core Modules (2.9.1)
Dune::InterpolationInterface Struct Reference
Interface for global-valued interpolation. More...
#include <dune/localfunctions/common/interface.hh>
Public Types | |
typedef BasisInterface::Traits | Traits |
Export basis traits. More... | |
Public Member Functions | |
template<typename F , typename C > | |
void | interpolate (const F &f, std::vector< C > &out) const |
Determine coefficients interpolating a given function. More... | |
Detailed Description
Interface for global-valued interpolation.
Member Typedef Documentation
◆ Traits
Export basis traits.
This should be the traits class of the corresponding basis.
Member Function Documentation
◆ interpolate()
template<typename F , typename C >
void Dune::InterpolationInterface::interpolate | ( | const F & | f, |
std::vector< C > & | out | ||
) | const |
Determine coefficients interpolating a given function.
- Parameters
-
f An object supporting the expression f.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 struct was generated from the following file:
- dune/localfunctions/common/interface.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 21, 23:30, 2024)