dune-localfunctions 2.10
|
class for wrapping a local interpolation using the virtual interface More...
#include <dune/localfunctions/common/virtualwrappers.hh>
Public Types | |
typedef Base::FunctionType | FunctionType |
typedef Base::CoefficientType | CoefficientType |
Public Member Functions | |
virtual void | interpolate (const FunctionType &f, std::vector< CoefficientType > &out) const |
determine coefficients interpolating a given function | |
template<class F , std::enable_if_t< not std::is_base_of< FunctionType, F >::value, int > = 0> | |
void | interpolate (const F &f, std::vector< CoefficientType > &out) const |
determine coefficients interpolating a given function | |
template<class F , class C > | |
void | interpolate (const F &f, std::vector< C > &out) const |
determine coefficients interpolating a given function | |
Protected Member Functions | |
LocalInterpolationVirtualImp (const Imp &imp) | |
constructor taking an implementation of the Dune::LocalInterpolationVirtualInterface | |
Protected Attributes | |
const Imp & | impl_ |
class for wrapping a local interpolation using the virtual interface
DomainType | domain type of the function to interpolate |
RangeType | range type of the function to interpolate |
Imp | LocalInterpolationVirtualInterface implementation |
typedef Base::CoefficientType Dune::LocalInterpolationVirtualImp< DomainType, RangeType, Imp >::CoefficientType |
typedef Base::FunctionType Dune::LocalInterpolationVirtualImp< DomainType, RangeType, Imp >::FunctionType |
|
inlineprotected |
constructor taking an implementation of the Dune::LocalInterpolationVirtualInterface
|
inlineinherited |
determine coefficients interpolating a given function
[in] | f | Function instance used to interpolate. |
[out] | out | Resulting coefficients vector. |
|
inlineinherited |
determine coefficients interpolating a given function
[in] | f | Function instance used to interpolate. |
[out] | out | Resulting coefficients vector. |
|
inlinevirtual |
determine coefficients interpolating a given function
This is the pure virtual method taking a VirtualFunction.
[in] | f | Function instance used to interpolate. |
[out] | out | Resulting coefficients vector. |
Implements Dune::LocalInterpolationVirtualInterface< DomainType, RangeType >.
|
protected |