| Lattice Microbes 2.5
    This is for whole cell modeling | 
#include <iostream>#include <string>#include <vector>#include <map>#include <memory>#include <cstdlib>#include <cstdio>#include <cstring>#include <sys/stat.h>#include <sbml/SBMLTypes.h>#include "core/Exceptions.h"#include "ReactionModel.pb.h"#include "io/SimulationFile.h"#include "core/Print.h"#include "lptf/Profile.h"#include "core/util.h"| Classes | |
| class | Exception | 
| Base class for exceptions.  More... | |
| class | SimulationFile | 
| A representation of the simulation that is used to input or output from an HDF5 file.  More... | |
| Functions | |
| void | parseArguments (int argc, char **argv) | 
| void | printUsage (int argc, char **argv) | 
| void | importSBMLModel (SimulationFile *lmFile, string sbmlFilename) | 
| void | importSBMLModelL3V1 (ReactionModel *lmModel, Model *sbmlModel) | 
| void | importSBMLModelL3V1Kinetics (uint reactionIndex, KineticLaw *kinetics, ReactionModel *lmModel, uint *D, map< string, uint > &speciesIndices, uint numberReactions, vector< string > &globalParameters, map< string, double > &globalParameterValues) | 
| bool | isFirstOrderReaction (const ASTNode *root, vector< string > ¶meters) | 
| void | importFirstOrderReaction (const ASTNode *root, vector< string > ¶meters, map< string, double > ¶meterValues, uint reactionIndex, uint numberReactions, ReactionModel *lmModel, uint *D, map< string, uint > &speciesIndices) | 
| bool | isSecondOrderReaction (const ASTNode *root, vector< string > ¶meters) | 
| void | importSecondOrderReaction (const ASTNode *root, vector< string > ¶meters, map< string, double > ¶meterValues, uint reactionIndex, uint numberReactions, ReactionModel *lmModel, uint *D, map< string, uint > &speciesIndices) | 
| bool | isSecondOrderSelfReaction (const ASTNode *root, vector< string > ¶meters) | 
| void | importSecondOrderSelfReaction (const ASTNode *root, vector< string > ¶meters, map< string, double > ¶meterValues, uint reactionIndex, uint numberReactions, ReactionModel *lmModel, uint *D, map< string, uint > &speciesIndices) | 
| int | main (int argc, char **argv) | 
| void | getSpeciesUsedInExpression (vector< string > &speciesUsed, const ASTNode *node, vector< string > ¶meters) | 
| void | getOperatorsUsedInExpression (vector< string > &speciesUsed, const ASTNode *node) | 
| const ASTNode * | getFirstExpressionOfType (const ASTNode *node, ASTNodeType_t type) | 
| double | calculateMultiplierInExpression (const ASTNode *node, map< string, double > ¶meterValues, bool ignoreSpeciesMinusOne=false) | 
| Variables | |
| string | function = "" | 
| string | outputFilename = "" | 
| string | inputFilename = "" | 
| map< string, double > | userParameterValues | 
| PROF_ALLOC | |
| double calculateMultiplierInExpression | ( | const ASTNode * | node, | 
| map< string, double > & | parameterValues, | ||
| bool | ignoreSpeciesMinusOne = false ) | 
| const ASTNode * getFirstExpressionOfType | ( | const ASTNode * | node, | 
| ASTNodeType_t | type ) | 
| void getOperatorsUsedInExpression | ( | vector< string > & | speciesUsed, | 
| const ASTNode * | node ) | 
| void getSpeciesUsedInExpression | ( | vector< string > & | speciesUsed, | 
| const ASTNode * | node, | ||
| vector< string > & | parameters ) | 
| void importFirstOrderReaction | ( | const ASTNode * | root, | 
| vector< string > & | parameters, | ||
| map< string, double > & | parameterValues, | ||
| uint | reactionIndex, | ||
| uint | numberReactions, | ||
| ReactionModel * | lmModel, | ||
| uint * | D, | ||
| map< string, uint > & | speciesIndices ) | 
| void importSBMLModel | ( | SimulationFile * | lmFile, | 
| string | sbmlFilename ) | 
| void importSBMLModelL3V1 | ( | ReactionModel * | lmModel, | 
| Model * | sbmlModel ) | 
| void importSBMLModelL3V1Kinetics | ( | uint | reactionIndex, | 
| KineticLaw * | kinetics, | ||
| ReactionModel * | lmModel, | ||
| uint * | D, | ||
| map< string, uint > & | speciesIndices, | ||
| uint | numberReactions, | ||
| vector< string > & | globalParameters, | ||
| map< string, double > & | globalParameterValues ) | 
| void importSecondOrderReaction | ( | const ASTNode * | root, | 
| vector< string > & | parameters, | ||
| map< string, double > & | parameterValues, | ||
| uint | reactionIndex, | ||
| uint | numberReactions, | ||
| ReactionModel * | lmModel, | ||
| uint * | D, | ||
| map< string, uint > & | speciesIndices ) | 
| void importSecondOrderSelfReaction | ( | const ASTNode * | root, | 
| vector< string > & | parameters, | ||
| map< string, double > & | parameterValues, | ||
| uint | reactionIndex, | ||
| uint | numberReactions, | ||
| ReactionModel * | lmModel, | ||
| uint * | D, | ||
| map< string, uint > & | speciesIndices ) | 
| bool isFirstOrderReaction | ( | const ASTNode * | root, | 
| vector< string > & | parameters ) | 
| bool isSecondOrderReaction | ( | const ASTNode * | root, | 
| vector< string > & | parameters ) | 
| bool isSecondOrderSelfReaction | ( | const ASTNode * | root, | 
| vector< string > & | parameters ) | 
| int main | ( | int | argc, | 
| char ** | argv ) | 
| void parseArguments | ( | int | argc, | 
| char ** | argv ) | 
Parses the command line arguments.
| void printUsage | ( | int | argc, | 
| char ** | argv ) | 
Prints the usage for the program.
| string function = "" | 
The function being performed.
| string inputFilename = "" | 
The sbml file to import the model from.
| string outputFilename = "" | 
The lm file to output the model into.
| PROF_ALLOC | 
| map<string, double> userParameterValues | 
Parameters specified by the user.