Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Nektar::LibUtilities::AnalyticExpressionEvaluator::AnalyticExpression::variables Struct Reference
Inheritance diagram for Nektar::LibUtilities::AnalyticExpressionEvaluator::AnalyticExpression::variables:
Inheritance graph
[legend]
Collaboration diagram for Nektar::LibUtilities::AnalyticExpressionEvaluator::AnalyticExpression::variables:
Collaboration graph
[legend]

Public Member Functions

 variables (std::vector< std::string > const &vars)
 

Detailed Description

Variables is a customized parser that will match the variables that the function depends on (the first argument of DefineFunction).

Definition at line 322 of file AnalyticExpressionEvaluator.hpp.

Constructor & Destructor Documentation

Nektar::LibUtilities::AnalyticExpressionEvaluator::AnalyticExpression::variables::variables ( std::vector< std::string > const &  vars)
inline

Definition at line 324 of file AnalyticExpressionEvaluator.hpp.

325  {
326  for (std::vector<std::string>::const_iterator it = vars.begin(); it != vars.end(); it++)
327  add(it->c_str(), 0);
328  }