Charcoal/Program inputs/outputs

Inputs
The program requires a .txt file consisting of the following information: the X-range, the positive Y-range, the deposition velocity Vg, M, the wind speed U (as if it is blowing along the          x-axis), the height H
 * The number of data sets
 * The following information for each data set:

Note: There are several variables for which values are given in the paper that my code was written from, and are currently not modifiable without changing the code, but could be added to the list of inputs if desired.

The name of this file minus the extension is currently hard coded into the program, but will be a command line argument.

Outputs
For each data set in a file f.txt, three files are written: fn.txt, fn.ascii.ppm, fn.ppm, where n is the nth data set in t.txt. The files contain the following data:

fn.txt contains the raw concentrations calculated in the following order (-1*Y-range, 0) (-1*Y-range, 1)...(-1*Y-range, X-range-1) ((-1*Y-range)+1, 0)((-1*Y-range)+1, 1)... (Y-Range-1, X-Range-1)

fn.acii.ppm is a temporary file containing the data necessary to turn the data in fn.txt into a .ppm. All of the concentrations have been converted to a number equal to: 255*(current-concentration/largest-concentration) This number is repeated 3 times to make a gray scale map of the data. The .ascii.ppm files could be deleted before the termination of the program.

fn.ppm contains the information in fn.ascii.ppm in .ppm format.