dune-fem
2.4.1-rc
|
native interpolation of a discrete function space More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/common/interpolation.hh>
Public Types | |
typedef DiscreteFunction | DiscreteFunctionType |
typedef DiscreteFunctionType::DiscreteFunctionSpaceType | DiscreteFunctionSpaceType |
Public Member Functions | |
template<class GridFunction > | |
void | operator() (const GridFunction &u, DiscreteFunctionType &v) |
interpolate a grid function More... | |
Static Public Member Functions | |
template<class GridFunction > | |
static void | apply (const GridFunction &u, DiscreteFunctionType &v) |
interpolate a grid function More... | |
native interpolation of a discrete function space
By definition of its degrees of freedom, each discrete function space has a native interpolation, which can be computed very quickly.
For example, the native interpolation of a Lagrange discrete function space is the evaluation in its Lagrange points. An orthonormal DG space would instead perform an -Projection.
The actual implementation must locally be provided by the discrete function space through the method
DiscreteFunction | type of discrete function to interpolate to |
typedef DiscreteFunctionType::DiscreteFunctionSpaceType Dune::Fem::Interpolation< DiscreteFunction, IteratorProvider >::DiscreteFunctionSpaceType |
typedef DiscreteFunction Dune::Fem::Interpolation< DiscreteFunction, IteratorProvider >::DiscreteFunctionType |
|
inlinestatic |
interpolate a grid function
[in] | u | grid function to interpolate |
[out] | v | discrete function to represent the interpolation |
References Dune::Fem::IteratorProvider< DiscreteFunctionSpace >::begin(), and Dune::Fem::IteratorProvider< DiscreteFunctionSpace >::end().
Referenced by Dune::Fem::Interpolation< DiscreteFunction, IteratorProvider >::operator()().
|
inline |
interpolate a grid function
[in] | u | grid function to interpolate |
[out] | v | discrete function to represent the interpolation |
References Dune::Fem::Interpolation< DiscreteFunction, IteratorProvider >::apply().