8 #ifndef FFA_MATH_EXPR_FACTORY_H
9 #define FFA_MATH_EXPR_FACTORY_H
27 std::vector<FFaMathExpr*>
diff;
28 std::vector<FFaMathVar*>
args;
44 std::vector<bool>* present = 0);
47 size_t nvar = 1,
const char** vars = 0);
49 double getValue(
int id,
double arg,
int& error);
50 double getValue(
int id,
const double* arg,
int& error);
52 double getDiff(
int id,
double arg,
int& error);
53 double getDiff(
int id,
size_t idArg,
const double* arg,
int& error);
Definition: FFaMathExprFactory.H:23
FFaMathFunc()
Definition: FFaMathExprFactory.H:29
FFaMathFunc(const FFaMathFunc &)=delete
std::vector< FFaMathExpr * > diff
Definition: FFaMathExprFactory.H:27
FFaMathFunc & operator=(const FFaMathFunc &)=delete
std::string estr
Definition: FFaMathExprFactory.H:25
~FFaMathFunc()
Definition: FFaMathExprFactory.C:14
FFaMathExpr * expr
Definition: FFaMathExprFactory.H:26
std::vector< FFaMathVar * > args
Definition: FFaMathExprFactory.H:28
Definition: FFaMathExprFactory.H:21
std::map< int, FFaMathFunc > IndexMap
Definition: FFaMathExprFactory.H:35
int create(int id, const std::string &expression, size_t nvar=1, const char **vars=0)
Definition: FFaMathExprFactory.C:49
IndexMap::iterator IMIter
Definition: FFaMathExprFactory.H:36
double getValue(int id, double arg, int &error)
Definition: FFaMathExprFactory.C:83
virtual ~FFaMathExprFactory()
Definition: FFaMathExprFactory.H:40
FFaMathExprFactory()
Definition: FFaMathExprFactory.H:39
IndexMap myIndexMap
Definition: FFaMathExprFactory.H:56
static size_t countArgs(const std::string &expression, const char **vars, std::vector< bool > *present=0)
Definition: FFaMathExprFactory.C:25
double getDiff(int id, double arg, int &error)
Definition: FFaMathExprFactory.C:118
Definition: FFaMathExpr.H:16
Definition: FFaMathVar.H:15
Template class for singleton classes.
Definition: FFaSingelton.H:20
character(len=500) expression
Explicit function expression.
Definition: initiateFunctionTypeModule.f90:35