Lattice Microbes 2.5
This is for whole cell modeling
Loading...
Searching...
No Matches
common.h File Reference
#include <string>
#include <list>
#include <vector>
#include <ctime>
#include "me/MESolverFactory.h"
Include dependency graph for common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void printCopyright (int argc, char **argv)
int getPhysicalCpuCores ()
void parseArguments (int argc, char **argv, const char *defaultSolver)
void parseIntListArg (vector< int > &list, char *option)
time_t parseTimeArg (char *option)
float parseIntReciprocalArg (char *option)
void printUsage (int argc, char **argv)
void discoverEnvironment ()
void initPython ()
void finalizePython ()
void startInterpreter ()
void executeScript (std::string filename, std::list< std::string > arguments, int replicate=0)

Function Documentation

◆ discoverEnvironment()

void discoverEnvironment ( )

Figures out the environment for the program (directories, files, etc).

◆ executeScript()

void executeScript ( std::string filename,
std::list< std::string > arguments,
int replicate = 0 )

◆ finalizePython()

void finalizePython ( )
Here is the caller graph for this function:

◆ getPhysicalCpuCores()

int getPhysicalCpuCores ( )

Prints the copyright notice. Gets the number of physical cpu cores on the system.

Here is the caller graph for this function:

◆ initPython()

void initPython ( )

Starts the python interpreter.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseArguments()

void parseArguments ( int argc,
char ** argv,
const char * defaultSolver )

Parses the command line arguments.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseIntListArg()

void parseIntListArg ( vector< int > & list,
char * option )
Here is the caller graph for this function:

◆ parseIntReciprocalArg()

float parseIntReciprocalArg ( char * option)
Here is the caller graph for this function:

◆ parseTimeArg()

time_t parseTimeArg ( char * option)
Here is the caller graph for this function:

◆ printCopyright()

void printCopyright ( int argc,
char ** argv )

This function prints the copyright notice.

Here is the caller graph for this function:

◆ printUsage()

void printUsage ( int argc,
char ** argv )

Prints the usage for the program.

Here is the caller graph for this function:

◆ startInterpreter()

void startInterpreter ( )
Here is the call graph for this function:
Here is the caller graph for this function: