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::problem< Data >::value< Order > Class Template Reference

#include <problem.hpp>

Detailed Description

template<typename Data>
template<int Order>
class Feel::problem< Data >::value< Order >

compute the value of the functionals, equalities and inequalities associated with the problem

Author
Christophe Prud'homme

Order is the maximum automatic differentiation order to perform while evaluating the functional or the constraints(inequalities and equalities).

Public Types

enum  { _E_n = problem_type::_E_n }
 
typedef mpl::if_<(Order==0),
ad_0_type, typename mpl::if_
< Order==1, ad_1_type,
ad_2_type >::type >::type 
ad_type
 
typedef mpl::if_< _E_h!=0,
typename data_type::template
equalities< ad_type >::type,
dummy_data< 0 > >::Result 
equalities_array_type
 
typedef mpl::if_<(_E_g!=0),
typename data_type::template
inequalities< ad_type >::type,
dummy_data< 0 > >::Result 
inequalities_array_type
 

Public Member Functions

void to (ad_type const &__adt, f_type &__fx, mpl::int_< 0 >)
 
void to (ad_type const &__adt, f_type &__fx, mpl::int_< 1 >)
 
void to (ad_type const &__adt, f_type &__fx, mpl::int_< 2 >)
 
void to (inequalities_array_type const &__adt, g_type &__gx, mpl::int_< 0 >)
 
void to (inequalities_array_type const &__adt, g_type &__gx, mpl::int_< 1 >)
 
void to (inequalities_array_type const &__adt, g_type &__gx, mpl::int_< 2 >)
 
void to (equalities_array_type const &__adt, h_type &__hx, mpl::int_< 0 >)
 
void to (equalities_array_type const &__adt, h_type &__hx, mpl::int_< 1 >)
 
void to (equalities_array_type const &__adt, h_type &__hx, mpl::int_< 2 >)
 
 value (problem_type *__pt, vector_type const &__x, f_type &__fx)
 
 value (problem_type *__pt, vector_type const &__x, g_type &__gx)
 
 value (problem_type *__pt, vector_type const &__x, h_type &__hx)
 

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

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