Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::vf::Cst< T > Class Template Reference
+ Inheritance diagram for Feel::vf::Cst< T >:
+ Collaboration diagram for Feel::vf::Cst< T >:

Classes

struct  HasTestFunction
 
struct  HasTrialFunction
 
struct  Lambda
 
struct  tensor
 

Public Types

typedef mpl::if_< boost::is_reference_wrapper< T >, mpl::identity< T >, mpl::identity< mpl::identity< T > > >::type::type::type _value_type
 
using evaluate_type = Eigen::Matrix< value_type, 1, 1 >
 
typedef Cst< T > expression_type
 
using test_basis = std::nullptr_t
 
using trial_basis = std::nullptr_t
 
using value_type = std::decay_t< _value_type >
 

Public Member Functions

template<typename SymbolsExprType >
expression_type applySymbolsExpr (SymbolsExprType const &se) const
 
constexpr Cst (const T &value)
 
 Cst (Cst &&c)=default
 
 Cst (Cst const &c)=default
 
constexpr Cst (T &&value)
 
template<int diffOrder, typename TheSymbolExprType >
auto diff (std::string const &diffVariable, WorldComm const &world, std::string const &dirLibExpr, TheSymbolExprType const &se) const
 
constexpr evaluate_type evaluate (bool) const
 
constexpr bool isPolynomial () const
 expression is polynomial?
 
template<typename... TheExpr>
Lambda< TheExpr... >::type operator() (TheExpr... e)
 
Cst & operator= (Cst const &c)=default
 
constexpr uint16_type polynomialOrder () const
 polynomial order
 
constexpr value_type value () const
 
T & value_ref ()
 
T const & value_ref () const
 

Static Public Attributes

static const size_type context = 0
 
template<typename Func >
static const bool has_test_basis = false
 
template<typename Func >
static const bool has_trial_basis = false
 
static const bool is_terminal = false
 

Protected Attributes

const T M_constant