DUNE-FEM (unstable)
virtual base class for a local interpolation More...
#include <dune/localfunctions/common/virtualinterface.hh>
Public Member Functions | |
virtual void | interpolate (const FunctionType &f, std::vector< CoefficientType > &out) const =0 |
determine coefficients interpolating a given function More... | |
Detailed Description
class Dune::LocalInterpolationVirtualInterfaceBase< DomainType, RangeType >
virtual base class for a local interpolation
This class defines the interface using pure virtual methods. In applications you should use the derived class LocalInterpolationVirtualInterface that also contains a interpolate method where the function type is a template parameter.
This template method cannot be defined in the same class as the virtual method. Otherwise name resolution fails.
Member Function Documentation
◆ interpolate()
|
pure virtual |
determine coefficients interpolating a given function
This is the pure virtual method taking a VirtualFunction.
- Parameters
-
[in] f Function instance used to interpolate. [out] out Resulting coefficients vector.
Implemented in Dune::LocalInterpolationVirtualImp< DomainType, RangeType, Imp >, Dune::LocalInterpolationVirtualImp< typename LocalBasisTraits::DomainType, typename LocalBasisTraits::RangeType, typename Imp::Traits::LocalInterpolationType >, Dune::LocalInterpolationVirtualInterface< DomainType, RangeType >, and Dune::LocalInterpolationVirtualInterface< typename LocalBasisTraits::DomainType, typename LocalBasisTraits::RangeType >.
Referenced by Dune::LocalInterpolationVirtualInterface< DomainType, RangeType >::interpolate().
The documentation for this class was generated from the following file:
- dune/localfunctions/common/virtualinterface.hh