Lattice Microbes 2.5
This is for whole cell modeling
Loading...
Searching...
No Matches
common.cpp File Reference
#include <string>
#include <list>
#include <vector>
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <cstring>
#include <cstdio>
#include <ctime>
#include <sys/stat.h>
#include "config.h"
#include "core/Types.h"
#include "core/Exceptions.h"
#include "core/Print.h"
#include "cmd/common.h"
#include "core/Globals.h"
#include "me/MESolverFactory.h"
Include dependency graph for common.cpp:

Functions

int getPhysicalCpuCores ()
void parseArguments (int argc, char **argv, const char *defaultSolver)
void parseIntListArg (vector< int > &list, char *arg)
time_t parseTimeArg (char *arg)
float parseIntReciprocalArg (char *arg)
void printUsage (int argc, char **argv)

Function Documentation

◆ 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:

◆ 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 * arg )
Here is the caller graph for this function:

◆ parseIntReciprocalArg()

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

◆ parseTimeArg()

time_t parseTimeArg ( char * arg)
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: