dune-localfunctions  2.1.1
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
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>

Inheritance diagram for Dune::LocalInterpolationVirtualImp< DomainType, RangeType, Imp >:
Inheritance graph

List of all members.

Public Types

typedef Base::FunctionType FunctionType
 type of virtual function to interpolate
typedef Base::CoefficientType CoefficientType
 type of the coefficient vector in the interpolate method

Public Member Functions

virtual void interpolate (const FunctionType &f, std::vector< CoefficientType > &out) const
template<class F >
void interpolate (const F &f, std::vector< CoefficientType > &out) const
template<class F , class C >
void interpolate (const F &f, std::vector< C > &out) const

Protected Member Functions

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

Protected Attributes

const Imp & impl_

Friends

class LocalFiniteElementVirtualImp

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
ImpLocalInterpolationInterface implementation

Member Typedef Documentation

template<class DomainType, class RangeType, class Imp>
typedef Base::CoefficientType Dune::LocalInterpolationVirtualImp< DomainType, RangeType, Imp >::CoefficientType

type of the coefficient vector in the interpolate method

Reimplemented from Dune::LocalInterpolationVirtualInterface< DomainType, RangeType >.

template<class DomainType, class RangeType, class Imp>
typedef Base::FunctionType Dune::LocalInterpolationVirtualImp< DomainType, RangeType, Imp >::FunctionType

type of virtual function to interpolate

Reimplemented from Dune::LocalInterpolationVirtualInterface< DomainType, RangeType >.


Constructor & Destructor Documentation

template<class DomainType, class RangeType, class Imp>
Dune::LocalInterpolationVirtualImp< DomainType, RangeType, Imp >::LocalInterpolationVirtualImp ( const Imp &  imp) [inline, protected]

constructor taking an implementation of the Dune::LocalInterpolationVirtualInterface


Member Function Documentation

template<class DomainType, class RangeType, class Imp>
virtual void Dune::LocalInterpolationVirtualImp< DomainType, RangeType, Imp >::interpolate ( const FunctionType f,
std::vector< CoefficientType > &  out 
) const [inline, virtual]
template<class DomainType, class RangeType>
template<class F >
void Dune::LocalInterpolationVirtualInterface< DomainType, RangeType >::interpolate ( const F &  f,
std::vector< CoefficientType > &  out 
) const [inline, inherited]
This uses the pure virtual method by wrapping the template argument into a VirtualFunction

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

Friends And Related Function Documentation

template<class DomainType, class RangeType, class Imp>
friend class LocalFiniteElementVirtualImp [friend]

Member Data Documentation

template<class DomainType, class RangeType, class Imp>
const Imp& Dune::LocalInterpolationVirtualImp< DomainType, RangeType, Imp >::impl_ [protected]

The documentation for this class was generated from the following file: