#include <string.h>
#include <cstdlib>
#include <iostream>
#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
#include <math.h>
#include "def.h"
#include "io.h"
#include "run.h"
#include "list.h"
#include "collection.h"
#include "model.h"
#include "species.h"
#include "domain.h"
Go to the source code of this file.
Functions | |
void | usage () |
void | parsename (char *name, char *filename) |
Strips the suffix from the filename. | |
int | main (int argc, char *argv[]) |
The Main routine for a batch mode. Executes a background job. |
Executes background job.
Definition in file job.cc.
int main | ( | int | argc, | |
char * | argv[] | |||
) |
The Main routine for a batch mode. Executes a background job.
argc,argv,: | standard command line arguments |
parses command line arguments
creates a domain instance
erases screen
runs the code
retrieves taskname
retrieves taskname
saves data
Definition at line 41 of file job.cc.
References Run::configfile, Gui::domain, ESC, IO::getIter(), Run::init(), Run::inputfile, Run::option, parsename(), Run::programname, Domain::run(), Domain::save(), and WORDLENGTH.
void parsename | ( | char * | name, | |
char * | filename | |||
) |