Run and export in one line
KQC simulations are first exported to a folder and then run as a shell script. It is convenient to run KQC simulations as a one liner. This can be done with the export_and_run.py script, usually called with the console script:
kqc sim waveguides_sim_compare.py
or if you do not want the GUI dialogs and prefer typing full path to the simulation script:
kqc sim klayout_package/python/scripts/simulations/waveguides_sim_compare.py -q
All this will only work if you have initialised KQCircuits with the simulation module as described in the Installation section of Developer Standalone module Setup, and you have installed the necessary binary packages: Gmsh, Elmer and ParaView.
Note
On Windows you may need to install KQC (pip install -e .
) with admin priviledges
(depending on whether Python install is in Program Files or AppData)