dune-localfunctions  2.2.1
Public Types | Public Member Functions | List of all members
Dune::LocalInterpolationVirtualInterfaceBase< DomainType, RangeType > Class Template Referenceabstract

virtual base class for a local interpolation More...

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

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

Public Types

typedef Dune::VirtualFunction
< DomainType, RangeType > 
FunctionType
 type of virtual function to interpolate More...
 
typedef RangeType::field_type CoefficientType
 type of the coefficient vector in the interpolate method More...
 

Public Member Functions

virtual ~LocalInterpolationVirtualInterfaceBase ()
 
virtual void interpolate (const FunctionType &f, std::vector< CoefficientType > &out) const =0
 determine coefficients interpolating a given function More...
 

Detailed Description

template<class DomainType, class RangeType>
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 with function type as template parameter.

This template method can not be defined in the same class as the virtual method. Otherwise name resolution fails.

Member Typedef Documentation

template<class DomainType, class RangeType>
typedef RangeType::field_type Dune::LocalInterpolationVirtualInterfaceBase< DomainType, RangeType >::CoefficientType

type of the coefficient vector in the interpolate method

template<class DomainType, class RangeType>
typedef Dune::VirtualFunction<DomainType, RangeType> Dune::LocalInterpolationVirtualInterfaceBase< DomainType, RangeType >::FunctionType

type of virtual function to interpolate

Constructor & Destructor Documentation

template<class DomainType, class RangeType>
virtual Dune::LocalInterpolationVirtualInterfaceBase< DomainType, RangeType >::~LocalInterpolationVirtualInterfaceBase ( )
inlinevirtual

Member Function Documentation

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

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