Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::vf::GiNaCBase Class Reference
+ Inheritance diagram for Feel::vf::GiNaCBase:
+ Collaboration diagram for Feel::vf::GiNaCBase:

Public Types

typedef double value_type
 
typedef Eigen::Matrix< value_type, Eigen::Dynamic, 1 > vec_type
 

Public Member Functions

size_type dynamicContext () const
 
void eraseParameterValues (std::set< std::string > const &symbNames)
 
 GiNaCBase (GiNaCBase const &g)=default
 
 GiNaCBase (std::vector< GiNaC::symbol > const &syms)
 
bool hasAnySymbolGeom () const
 
bool hasAnySymbolN () const
 
bool hasAnySymbolXYZ () const
 
bool hasSymbol (std::string const &symb) const
 
uint16_type index (std::string const &sname) const
 
std::set< std::pair< uint16_type, uint16_type > > const & indexSymbolGeom () const
 
std::set< std::pair< uint16_type, uint16_type > > const & indexSymbolN () const
 
std::set< std::pair< uint16_type, uint16_type > > const & indexSymbolXYZ () const
 
bool isNumericExpression () const
 return true if the expression is numeric (i.e. not a symbolic expression)
 
vec_type const & parameterValue () const
 
value_type parameterValue (int p) const
 
virtual void setParameterValues (std::map< std::string, value_type > const &mp)
 
void setParameterValues (vec_type const &p)
 
std::map< std::string, value_type > const & symbolNameToValue () const
 
const std::vector< GiNaC::symbol > & symbols () const
 
- Public Member Functions inherited from Feel::vf::ExprDynamicBase
size_type dynamicContext () const
 
 ExprDynamicBase (size_type c)
 

Protected Attributes

size_type M_context
 
std::set< std::pair< uint16_type, uint16_type > > M_indexSymbolGeom
 
std::set< std::pair< uint16_type, uint16_type > > M_indexSymbolN
 
std::set< std::pair< uint16_type, uint16_type > > M_indexSymbolXYZ
 
bool M_isNumericExpression
 
vec_type M_params
 
std::map< std::string, value_type > M_symbolNameToValue
 
std::vector< GiNaC::symbol > M_syms