O P A R - Open Architecture Particle in Cell Simulation - Version 3.0
Plasma simulations with dust particles
 All Classes Files Functions Variables Friends Macros Groups Pages
Functions | Variables
main.cpp File Reference
#include "simulation.h"
#include <fstream>
#include <sys/time.h>

Functions

int main (int argc, char **argv)
 The global Simulation object.

Variables

SimulationpSim = NULL

Detailed Description

The source file that include the main function which starts the simulation.


Function Documentation

int main ( int  argc,
char **  argv 
)

The global Simulation object.

Print some initial diagnostics and start the simulation. If an argument is specified at the command line then it is interpreted as a file name and the setup is read from the corresponding file. If no argument is specified OPAR tries to read the setup from the standard input.