DUNE-FEM (unstable)

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 , 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 More...
 
template<class F , class C >
void interpolate (const F &f, std::vector< C > &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 function to interpolate
RangeTyperange type of the function to interpolate
ImpLocalInterpolationVirtualInterface implementation

Member Function Documentation

◆ interpolate() [1/3]

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

determine coefficients interpolating a given function

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

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

◆ interpolate() [2/3]

template<class DomainType , class RangeType >
template<class F , std::enable_if_t< not std::is_base_of< FunctionType, F >::value, int > = 0>
void Dune::LocalInterpolationVirtualInterface< DomainType, RangeType >::interpolate ( const F &  f,
std::vector< CoefficientType > &  out 
) const
inlineinherited

determine coefficients interpolating a given function

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

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

◆ interpolate() [3/3]

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 (Nov 20, 23:30, 2024)