Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::FunctionExpr< FunctionType, Order, FunctionArgsTupleType > Class Template Reference
+ Inheritance diagram for Feel::FunctionExpr< FunctionType, Order, FunctionArgsTupleType >:
+ Collaboration diagram for Feel::FunctionExpr< FunctionType, Order, FunctionArgsTupleType >:

Classes

struct  ExprContextProd
 
struct  HasTestFunction
 
struct  HasTrialFunction
 
struct  tensor
 

Public Types

using args_tuple_type = FunctionArgsTupleType
 
using function_type = FunctionType
 
using self_type = FunctionExpr< FunctionType, Order, FunctionArgsTupleType >
 
using super_type = ExprDynamicBase
 
using test_basis = std::nullptr_t
 
using trial_basis = std::nullptr_t
 
typedef double value_type
 

Public Member Functions

args_tuple_type const & argsTuple () const
 
function_type const & function () const
 
 FunctionExpr (function_type &&f, args_tuple_type &&args)
 
 FunctionExpr (function_type const &f, args_tuple_type const &args)
 
 FunctionExpr (FunctionExpr &&)=default
 
 FunctionExpr (FunctionExpr const &)=default
 
bool isPolynomial () const
 
uint16_type polynomialOrder () const
 
void setPolynomialOrder (int imorder)
 

Static Public Attributes

static constexpr auto args_types = decltype( hana::unpack( std::declval<args_tuple_type>(), make_type_tuple ) ){}
 
static constexpr size_type context = decltype( hana::unpack( args_types, hana::template_<ExprContextProd> ) )::type::context
 
static constexpr bool is_terminal = false
 
static constexpr auto make_type_tuple
 

Member Data Documentation

◆ make_type_tuple

template<typename FunctionType , int Order, typename FunctionArgsTupleType >
constexpr auto Feel::FunctionExpr< FunctionType, Order, FunctionArgsTupleType >::make_type_tuple
staticconstexpr
Initial value:
= []( auto&& ... xs ) {
return hana::tuple<hana::type<std::decay_t<decltype(xs)>>...>{};
}