Logo  0.95.0-final
Finite Element Embedded Library and Language in C++
Feel++ Feel++ on Github Feel++ community
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Feel::Functional< P > Class Template Reference

#include <functional.hpp>

Detailed Description

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

represents a linear functional

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

Author
Christophe Prud'homme
See Also

Inherits addable< Functional< Space > >.

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
 

Member Function Documentation

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

apply the functional to a polynomial

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

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

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

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

Generated on Sun Oct 20 2013 08:25:07 for Feel++ by doxygen 1.8.4