DUNE PDELab (2.8)
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... | |
template<class F , std::enable_if_t< not std::is_base_of< FunctionType, F >::value, int > = 0> | |
void | interpolate (const F &ff, std::vector< CoefficientType > &out) const |
determine coefficients interpolating a given function More... | |
template<class F , class C > | |
void | interpolate (const F &ff, std::vector< C > &out) const |
determine coefficients interpolating a given function More... | |
Detailed Description
class Dune::LocalInterpolationVirtualInterface< DomainType, RangeType >
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.
Member Function Documentation
◆ interpolate() [1/3]
|
inline |
determine coefficients interpolating a given function
- Parameters
-
[in] ff Function instance used to interpolate. [out] out Resulting coefficients vector.
References Dune::LocalInterpolationVirtualInterfaceBase< DomainType, RangeType >::interpolate().
◆ interpolate() [2/3]
|
inline |
determine coefficients interpolating a given function
- Parameters
-
[in] ff Function instance used to interpolate. [out] out Resulting coefficients vector.
References Dune::LocalInterpolationVirtualInterfaceBase< DomainType, RangeType >::interpolate().
◆ interpolate() [3/3]
|
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.
Implements Dune::LocalInterpolationVirtualInterfaceBase< DomainType, RangeType >.
Implemented in Dune::LocalInterpolationVirtualImp< DomainType, RangeType, Imp >, and Dune::LocalInterpolationVirtualImp< typename LocalBasisTraits::DomainType, typename LocalBasisTraits::RangeType, typename Imp::Traits::LocalInterpolationType >.
The documentation for this class was generated from the following file:
- dune/localfunctions/common/virtualinterface.hh