#include <NFfunction.hh>
Public Member Functions | |
CompositeFunction (System *s, string name, string expression, vector< string > &functions, vector< string > &argNames, vector< string > ¶mNames) | |
~CompositeFunction () | |
string | getName () const |
void | updateParameters (System *s) |
void | finalizeInitialization (System *s) |
void | prepareForSimulation (System *s) |
void | setGlobalObservableDependency (ReactionClass *r, System *s) |
double | evaluateOn (Molecule **molList, int *scope, int *curReactantCounts, int n_reactants) |
void | printDetails (System *s) |
int | getNumOfArgs () const |
string | getArgName (int aIndex) const |
void | addTypeIMoleculeDependency (MoleculeType *mt) |
Protected Attributes | |
string | name |
string | originalExpression |
string | parsedExpression |
unsigned int | n_allFuncs |
string * | allFuncNames |
unsigned int | n_args |
string * | argNames |
unsigned int | n_params |
string * | paramNames |
int | n_gfs |
string * | gfNames |
GlobalFunction ** | gfs |
double * | gfValues |
int | n_lfs |
string * | lfNames |
LocalFunction ** | lfs |
int | n_reactantCounts |
double * | reactantCount |
int | n_refLfs |
int * | refLfInds |
string * | refLfRefNames |
int * | refLfScopes |
double * | refLfValues |
mu::Parser * | p |
CompositeFunction::CompositeFunction | ( | System * | s, | |
string | name, | |||
string | expression, | |||
vector< string > & | functions, | |||
vector< string > & | argNames, | |||
vector< string > & | paramNames | |||
) |
CompositeFunction::~CompositeFunction | ( | ) |
string NFcore::CompositeFunction::getName | ( | ) | const [inline] |
void CompositeFunction::updateParameters | ( | System * | s | ) |
void CompositeFunction::finalizeInitialization | ( | System * | s | ) |
void CompositeFunction::prepareForSimulation | ( | System * | s | ) |
void CompositeFunction::setGlobalObservableDependency | ( | ReactionClass * | r, | |
System * | s | |||
) |
double CompositeFunction::evaluateOn | ( | Molecule ** | molList, | |
int * | scope, | |||
int * | curReactantCounts, | |||
int | n_reactants | |||
) |
void CompositeFunction::printDetails | ( | System * | s | ) |
int CompositeFunction::getNumOfArgs | ( | ) | const |
string CompositeFunction::getArgName | ( | int | aIndex | ) | const |
void CompositeFunction::addTypeIMoleculeDependency | ( | MoleculeType * | mt | ) |
string NFcore::CompositeFunction::name [protected] |
string NFcore::CompositeFunction::originalExpression [protected] |
string NFcore::CompositeFunction::parsedExpression [protected] |
unsigned int NFcore::CompositeFunction::n_allFuncs [protected] |
string* NFcore::CompositeFunction::allFuncNames [protected] |
unsigned int NFcore::CompositeFunction::n_args [protected] |
string* NFcore::CompositeFunction::argNames [protected] |
unsigned int NFcore::CompositeFunction::n_params [protected] |
string* NFcore::CompositeFunction::paramNames [protected] |
int NFcore::CompositeFunction::n_gfs [protected] |
string* NFcore::CompositeFunction::gfNames [protected] |
GlobalFunction** NFcore::CompositeFunction::gfs [protected] |
double* NFcore::CompositeFunction::gfValues [protected] |
int NFcore::CompositeFunction::n_lfs [protected] |
string* NFcore::CompositeFunction::lfNames [protected] |
LocalFunction** NFcore::CompositeFunction::lfs [protected] |
int NFcore::CompositeFunction::n_reactantCounts [protected] |
double* NFcore::CompositeFunction::reactantCount [protected] |
int NFcore::CompositeFunction::n_refLfs [protected] |
int* NFcore::CompositeFunction::refLfInds [protected] |
string* NFcore::CompositeFunction::refLfRefNames [protected] |
int* NFcore::CompositeFunction::refLfScopes [protected] |
double* NFcore::CompositeFunction::refLfValues [protected] |
mu::Parser* NFcore::CompositeFunction::p [protected] |