next up previous
Next: Initial Data Generator Up: Generated Programs Previous: Parameter Files

Solver

If RNPL is run on wave.rnpl and the resulting source files are then compiled into executables named wave and wave_init, then the solver (wave) can be executed by typing ``wave param_file'' or ``wave'' on the command line. Param_file is an ASCII file of parameter values as discussed above. If no parameter file is given on the command line, the program will prompt for one. If there is no initial data file (in_file), wave will execute wave_init to generate one. If wave_init doesn't exist, wave will print a warning and continue without reading the initial data. If there is an initial data file, wave will read it and continue. Every rmod time steps (rmod is a parameter), wave will generate output as specified by out_gf, ser, and fout. It will print the current step and value of time to stdout. During execution, the user can type C or Z to stop wave. A menu will then be presented which allows the user to change the output frequency (rmod) and which grid functions will be output (out_gf). The user can also choose to quit. Upon termination (either forced or after ``iter'' time steps), wave will dump state to out_file. Execution can later be resumed by copying out_file to in_file and rerunning wave.



Robert Marsa
Thu Jun 1 09:34:30 CDT 1995