Feel++  0.92.0
Feel::Functional< Space > Class Template Reference

represents a linear functional More...

#include <functional.hpp>

Inheritance diagram for Feel::Functional< Space >:
Feel::functional::ComponentPointEvaluation< Space > Feel::functional::DirectionalComponentPointEvaluation< Space > Feel::functional::IntegralMoment< Space, Poly > Feel::functional::IntegralMomentOfDerivative< Space > Feel::functional::IntegralMomentOfDivergence< Space, Poly > Feel::functional::IntegralMomentOnFace< Space > Feel::functional::PointDerivative< Space > Feel::functional::PointEvaluation< Space >

List of all members.

Public Member Functions

Constructors, destructor
 Functional ()
 Functional (space_type const &P)
 Functional (space_type const &P, matrix_type const &coeff)
 Functional (Functional const &__f)
virtual ~Functional ()
Operator overloads
self_typeoperator= (self_type const &__f)
self_typeoperator+= (const self_type &__f)
virtual matrix_type operator() (polynomial_type const &p) const
Accessors
uint16_type size () const
rep_type const & coeff () const
Mutators
void setCoefficient (matrix_type const &__coeff)

Typedefs

typedef Space::value_type value_type
typedef Functional< Space > self_type
typedef Space space_type
typedef Space polynomialset_type
typedef space_type::polynomial_type polynomial_type
typedef space_type::basis_type basis_type
typedef space_type::matrix_type matrix_type
typedef ublas::matrix< value_type > rep_type
static const uint16_type nComponents = space_type::nComponents

Detailed Description

template<typename Space>
class Feel::Functional< Space >

represents a linear functional

A functional is defined by a polynomial set and a set of coefficients

Author:
Christophe Prud'homme
See also:

Member Function Documentation

template<typename Space >
rep_type const& Feel::Functional< Space >::coeff ( ) const [inline]
Returns:
the coefficient of the functional in the basis associated with the polynomial space
template<typename Space >
virtual matrix_type Feel::Functional< Space >::operator() ( polynomial_type const &  p) const [inline, virtual]

apply the functional to a polynomial

Parameters:
ppolynomial
Returns:
matrix resulting from the application of the functional to the polynomial
template<typename Space >
self_type& Feel::Functional< Space >::operator+= ( const self_type __f) [inline]

add to another functional it generates automatically operator+ thanks to addable

template<typename Space >
uint16_type Feel::Functional< Space >::size ( ) const [inline]
Returns:
the dimension of the polynomial space