dune-localfunctions
2.2.1
|
virtual base class for a local interpolation More...
#include <dune/localfunctions/common/virtualinterface.hh>
Public Types | |
typedef Dune::VirtualFunction < DomainType, RangeType > | FunctionType |
type of virtual function to interpolate More... | |
typedef RangeType::field_type | CoefficientType |
type of the coefficient vector in the interpolate method More... | |
Public Member Functions | |
virtual | ~LocalInterpolationVirtualInterface () |
virtual void | interpolate (const FunctionType &f, std::vector< CoefficientType > &out) const =0 |
determine coefficients interpolating a given function More... | |
template<class F > | |
void | interpolate (const F &f, std::vector< CoefficientType > &out) const |
More... | |
template<class F , class C > | |
void | interpolate (const F &f, std::vector< C > &out) const |
virtual base class for a local interpolation
This class defines the interface using pure virtual methods. It also contains the interpolate method with function type as template parameter.
typedef RangeType::field_type Dune::LocalInterpolationVirtualInterface< DomainType, RangeType >::CoefficientType |
type of the coefficient vector in the interpolate method
typedef Dune::VirtualFunction<DomainType, RangeType> Dune::LocalInterpolationVirtualInterface< DomainType, RangeType >::FunctionType |
type of virtual function to interpolate
|
inlinevirtual |
|
pure virtual |
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::LocalInterpolationVirtualInterfaceBase< DomainType, RangeType >.
Implemented in Dune::LocalInterpolationVirtualImp< DomainType, RangeType, Imp >, and Dune::LocalInterpolationVirtualImp< typename T::DomainType, typename T::RangeType, typename Imp::Dune::LocalFiniteElementTraits::LocalInterpolationType >.
|
inline |
|
inline |