#include <string.h>
#include <math.h>
#include <sys/timeb.h>
#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
#include <iostream>
#include "def.h"
#include "run.h"
#include "io.h"
Go to the source code of this file.
Namespaces | |
namespace | Run |
Processing command-line and execution control parameters. | |
Defines | |
#define | RAND_MAX 2147483647 |
Functions | |
void | Run::testrnd () |
Test random numer generator. | |
REAL | Run::rnd () |
Seeds random number. | |
REAL | Run::gauss () |
normal random number generator | |
void | Run::init (int argc, char *argv[]) |
Initialize all variables, and execution options. | |
void | Run::readcmdline (int argc, char *argv[]) |
Parses command-line options. | |
int | Run::elapsed () |
time (sec) elapsed since the start of the run | |
Variables | |
struct Option | Run::option = {0,0,0,0} |
command-line options | |
void(* | Run::usage )() |
char | Run::programname [MAXLINLEN] |
char | Run::configfile [MAXLINLEN] |
char | Run::outputfile [MAXLINLEN] |
char | Run::inputfile [MAXLINLEN] |
char | Run::outputname [MAXLINLEN] |
int | Run::nthreads |
struct timeb | Run::worldtime |
struct Time | Run::time |
#define RAND_MAX 2147483647 |