Classes | |
struct | Time |
Execution time-control structure. More... | |
Functions | |
void | testrnd () |
Test random numer generator. | |
REAL | rnd () |
Seeds random number. | |
REAL | gauss () |
normal random number generator | |
void | init (int argc, char *argv[]) |
Initialize all variables, and execution options. | |
void | readcmdline (int argc, char *argv[]) |
Parses command-line options. | |
int | elapsed () |
time (sec) elapsed since the start of the run | |
void | seed () |
seed random number generator | |
void(*) | usage () |
Variables | |
struct Option | option = {0,0,0,0} |
command-line options | |
void(* | usage )() |
char | programname [MAXLINLEN] |
char | configfile [MAXLINLEN] |
char | outputfile [MAXLINLEN] |
char | inputfile [MAXLINLEN] |
char | outputname [MAXLINLEN] |
int | nthreads |
struct timeb | worldtime |
struct Time | time |
int Run::elapsed | ( | ) |
time (sec) elapsed since the start of the run
Definition at line 138 of file run.cc.
References worldtime.
Referenced by Domain::save().
REAL Run::gauss | ( | ) |
void Run::init | ( | int | argc, | |
char * | argv[] | |||
) |
Initialize all variables, and execution options.
Definition at line 79 of file run.cc.
References configfile, Option::debug, IO::getTime(), Option::mesh, option, readcmdline(), Option::restart, Option::verbose, worldtime, and Option::xterm.
Referenced by main().
void Run::readcmdline | ( | int | argc, | |
char * | argv[] | |||
) |
Parses command-line options.
Definition at line 93 of file run.cc.
References configfile, Option::debug, inputfile, Option::mesh, option, outputfile, outputname, programname, Option::restart, and Option::verbose.
Referenced by init().
REAL Run::rnd | ( | ) |
void Run::seed | ( | ) |
seed random number generator
void Run::testrnd | ( | ) |
void(*) Run::usage | ( | ) |
char Run::configfile |
Definition at line 20 of file run.cc.
Referenced by Domain::Domain(), init(), main(), readcmdline(), and Gui::readconf().
char Run::inputfile |
int Run::nthreads |
struct Option Run::option = {0,0,0,0} [read] |
command-line options
Definition at line 17 of file run.cc.
Referenced by Gui::animate(), Gui::display(), Domain::Domain(), IO::getCharAttr(), IO::getIntAttr(), IO::getIter(), IO::getTime(), init(), Gui::init(), GridContainer::init(), Domain::init(), Gui::initdisp(), Gui::keyboard(), Domain::load(), main(), Gui::Materials(), IO::parseFloat(), IO::parseInt(), IO::parseWord(), Pool< Element >::Pool(), readcmdline(), Gui::readconf(), Domain::run(), Domain::save(), IO::xwd(), and Domain::~Domain().
char Run::outputfile |
char Run::outputname |
Definition at line 20 of file run.cc.
Referenced by Gui::helpCommand(), Gui::helpDisplay(), Gui::keyboard(), readcmdline(), and Domain::run().
char Run::programname |
Definition at line 29 of file run.cc.
Referenced by Gui::animate(), Domain::boundary(), Gui::display(), IO::getTime(), IO::getTimeXML(), Bulk::inject(), Boundary::Inject(), Domain::injection(), Domain::interaction(), Gui::keyboard(), Domain::load(), Molecule::Molecule(), Molecule::Move(), GridContainer::put(), Domain::run(), Domain::save(), and Gui::toggleWindowDump().
void(* Run::usage)() | ( | ) |
struct timeb Run::worldtime |