Next: Structure of the optical
Up: Changing the model
Previous: Editing the source code
The model is divided into two parts, the graphical interface (GUI) and the back end solver (see 12). The role of the GUI, is simply to edit the input files (sim.gpvdm) and view the results. It is the back end solver which does all the computation. The file C:
gpvdm.exe, contains the GUI, and is a python program using a QT widget set, compiled into a windows executable. The file C:
gpvdm_core.exe is the back end solver which is written in C.
If you want to run the model from the command line, make a new simulation using the GUI, then close the GUI, and open up the terminal window. Navigate to the directory where you saved your simulation, then enter C:
gpvdm_core.exe in the command line. gpvdm should then run in the terminal.
The structure of the model