Dune Core Modules (2.6.0)

Dune::LocalInterpolationVirtualImp< DomainType, RangeType, Imp > Class Template Reference

class for wrapping a local interpolation using the virtual interface More...

#include <dune/localfunctions/common/virtualwrappers.hh>

Public Member Functions

virtual void interpolate (const FunctionType &f, std::vector< CoefficientType > &out) const
 determine coefficients interpolating a given function More...
 
template<class F >
void interpolate (const F &f, std::vector< CoefficientType > &out) const
 determine coefficients interpolating a given function More...
 

Protected Member Functions

 LocalInterpolationVirtualImp (const Imp &imp)
 constructor taking an implementation of the Dune::LocalInterpolationVirtualInterface
 

Detailed Description

template<class DomainType, class RangeType, class Imp>
class Dune::LocalInterpolationVirtualImp< DomainType, RangeType, Imp >

class for wrapping a local interpolation using the virtual interface

Template Parameters
DomainTypedomain type of the Dune::VirtualFunction to interpolate
RangeTyperange type of the Dune::VirtualFunction to interpolate
ImpLocalInterpolationVirtualInterface implementation

Member Function Documentation

◆ interpolate() [1/2]

template<class DomainType , class RangeType >
template<class F >
void Dune::LocalInterpolationVirtualInterface< DomainType, RangeType >::interpolate ( const F &  f,
std::vector< CoefficientType > &  out 
) const
inlineinherited

determine coefficients interpolating a given function

This is the pure virtual method taking a VirtualFunction.

Parameters
[in]fFunction instance used to interpolate.
[out]outResulting coefficients vector. This uses the pure virtual method by wrapping the template argument into a VirtualFunction

References Dune::LocalInterpolationVirtualInterfaceBase< DomainType, RangeType >::interpolate().

◆ interpolate() [2/2]

template<class DomainType , class RangeType , class Imp >
virtual void Dune::LocalInterpolationVirtualImp< DomainType, RangeType, Imp >::interpolate ( const FunctionType f,
std::vector< CoefficientType > &  out 
) const
inlinevirtual

determine coefficients interpolating a given function

This is the pure virtual method taking a VirtualFunction.

Parameters
[in]fFunction instance used to interpolate.
[out]outResulting coefficients vector.

Implements Dune::LocalInterpolationVirtualInterface< DomainType, RangeType >.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 26, 23:30, 2024)