KASKADE 7 development version
|
(Scalar) product of two functions. More...
#include <functionviews.hh>
(Scalar) product of two functions.
This implements the Function concept. Given two Functions \( f_1,f2:\Omega\to K^m \), it represents the scalar product Function \( g(x)=f_1(x)^H f_2(x) \).
Definition at line 377 of file functionviews.hh.
Public Types | |
typedef Function::Scalar | Scalar |
typedef Dune::FieldVector< Scalar, components > | ValueType |
Public Member Functions | |
ScalarProductView (Function const &f1_, Function const &f2_) | |
template<class Cell > | |
int | order (Cell const &cell) const |
template<class Cell > | |
ValueType | value (Cell const &cell, Dune::FieldVector< typename Cell::Geometry::ctype, Cell::dimension > const &localCoordinate) const |
Static Public Attributes | |
static int const | components = Function::components |
typedef Function::Scalar Kaskade::ScalarProductView< Function >::Scalar |
Definition at line 385 of file functionviews.hh.
typedef Dune::FieldVector<Scalar,components> Kaskade::ScalarProductView< Function >::ValueType |
Definition at line 387 of file functionviews.hh.
|
inline |
The functions f1 and f2 have to exist during the lifetime of this view.
Definition at line 383 of file functionviews.hh.
|
inline |
Definition at line 390 of file functionviews.hh.
|
inline |
Definition at line 399 of file functionviews.hh.
|
static |
Definition at line 386 of file functionviews.hh.