Google
Search gs2.sourceforge.net Search gk.umd.edu Search WWW

Warning! The search engine does not understand Frames, so you may end up with radio buttons to the left that were not intended. You can get back here by clicking on the Main button. If you are looking for examples, references, or anything else besides documentation for users, try starting your search from here.

Main program


Overview

The main program calls initializations, runs through the main loop, and checks for exit conditions. There is a timing routine which can be uncommented to get information like the number of timesteps/second achieved.

There is also a small set of broad inputs and control parameters that affect an overall run, such as the timestep, some choices about normalizations, whether the run should be electrostatic or electromagnetic, etc. These are set in the run_parameters module.

At present, the documentation on this site consists mainly of source code (with comments) together with a higher-level description of the input parameters which the users control. A careful look at the input namelists will generally help to establish what the code can and cannot do for you. Please send questions to the webmaster (link in upper right corner).

Modules

gs2.f90
This is the main block of the program. Have a look - it isn't too bad.
run_parameters.f90
This module is controlled by the
    parameters and
    knobs namelists.