#include <NFfunction.hh>
Public Member Functions | |
LocalFunction (System *s, string name, string originalExpression, string parsedExpression, vector< string > &args, vector< string > &varRefNames, vector< string > &varObservableNames, vector< Observable * > &varObservables, vector< int > &varRefScope, vector< string > paramNames) | |
~LocalFunction () | |
string | getName () const |
string | getNiceName () const |
string | getExpression () const |
string | getParsedExpression () const |
void | printDetails (System *s) |
void | prepareForSimulation (System *s) |
double | getValue (Molecule *m, int scope) |
double | evaluateOn (Molecule *m, int scope) |
void | addTypeIMoleculeDependency (MoleculeType *mt) |
void | updateParameters (System *s) |
Public Attributes | |
mu::Parser * | p |
Static Public Attributes | |
static const int | SPECIES = 0 |
static const int | MOLECULE = 1 |
Protected Attributes | |
string | name |
string | nicename |
string | originalExpression |
string | parsedExpression |
unsigned int | n_args |
string * | argNames |
unsigned int | n_params |
string * | paramNames |
unsigned int | n_varRefs |
string * | varRefNames |
string * | varObservableNames |
int * | varRefScope |
Observable ** | varLocalObservables |
vector< MoleculeType * > | typeI_mol |
vector< int > | typeI_localFunctionIndex |
int | n_typeIImolecules |
MoleculeType ** | typeII_mol |
vector< int > | typeII_localFunctionIndex |
Static Protected Attributes | |
static list< Molecule * > | molList |
static list< Molecule * >::iterator | molIter |
LocalFunction::LocalFunction | ( | System * | s, | |
string | name, | |||
string | originalExpression, | |||
string | parsedExpression, | |||
vector< string > & | args, | |||
vector< string > & | varRefNames, | |||
vector< string > & | varObservableNames, | |||
vector< Observable * > & | varObservables, | |||
vector< int > & | varRefScope, | |||
vector< string > | paramNames | |||
) |
LocalFunction::~LocalFunction | ( | ) |
string LocalFunction::getName | ( | ) | const |
string LocalFunction::getNiceName | ( | ) | const |
string LocalFunction::getExpression | ( | ) | const |
string LocalFunction::getParsedExpression | ( | ) | const |
void LocalFunction::printDetails | ( | System * | s | ) |
void LocalFunction::prepareForSimulation | ( | System * | s | ) |
double LocalFunction::getValue | ( | Molecule * | m, | |
int | scope | |||
) |
double LocalFunction::evaluateOn | ( | Molecule * | m, | |
int | scope | |||
) |
void LocalFunction::addTypeIMoleculeDependency | ( | MoleculeType * | mt | ) |
void LocalFunction::updateParameters | ( | System * | s | ) |
const int NFcore::LocalFunction::SPECIES = 0 [static] |
const int NFcore::LocalFunction::MOLECULE = 1 [static] |
mu::Parser* NFcore::LocalFunction::p |
string NFcore::LocalFunction::name [protected] |
string NFcore::LocalFunction::nicename [protected] |
string NFcore::LocalFunction::originalExpression [protected] |
string NFcore::LocalFunction::parsedExpression [protected] |
unsigned int NFcore::LocalFunction::n_args [protected] |
string* NFcore::LocalFunction::argNames [protected] |
unsigned int NFcore::LocalFunction::n_params [protected] |
string* NFcore::LocalFunction::paramNames [protected] |
unsigned int NFcore::LocalFunction::n_varRefs [protected] |
string* NFcore::LocalFunction::varRefNames [protected] |
string* NFcore::LocalFunction::varObservableNames [protected] |
int* NFcore::LocalFunction::varRefScope [protected] |
Observable** NFcore::LocalFunction::varLocalObservables [protected] |
list< Molecule * > LocalFunction::molList [static, protected] |
list< Molecule * >::iterator LocalFunction::molIter [static, protected] |
vector<MoleculeType *> NFcore::LocalFunction::typeI_mol [protected] |
vector<int> NFcore::LocalFunction::typeI_localFunctionIndex [protected] |
int NFcore::LocalFunction::n_typeIImolecules [protected] |
MoleculeType** NFcore::LocalFunction::typeII_mol [protected] |
vector<int> NFcore::LocalFunction::typeII_localFunctionIndex [protected] |