This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
nnp:optics:optical_gain [2017/02/03 10:52] stefan.birner [Input file structure] |
nnp:optics:optical_gain [2017/02/20 21:21] (current) stefan.birner |
||
---|---|---|---|
Line 26: | Line 26: | ||
====Input file structure==== | ====Input file structure==== | ||
- | A new keyword has been introduced to handle an optical device, ''opticaldevice{}'' | + | A new keyword has been introduced to handle an optical device, ''opticaldevice{}''. |
<code> | <code> | ||
opticaldevice{ | opticaldevice{ | ||
name = "quantum_region_name" | name = "quantum_region_name" | ||
- | line_broadening = 1 #Line broadening model (1: Lorentzian) | + | line_broadening = 1 # Line broadening model (1: Lorentzian) |
- | photon_energy = 1 #Photon energy in (eV) | + | photon_energy = 1.0 # Photon energy in (eV) |
- | line_width = 1 #Line width in (eV) | + | line_width = 1.0 # Line width in (eV) |
} | } | ||
</code> | </code> | ||
- | An in the run paragraph you have to also add //solve_optical_device{}// in order to include it the simulation flow. | + | The ''run'' keyword requires ''solve_optical_device{}'' to be included. |
==== Results ==== | ==== Results ==== | ||
<figure> | <figure> | ||
;#; | ;#; | ||
- | <dataplot xlabel="x(nm)" ylabel="1/s/m^3" ylegends="Gain"> | + | <dataplot xlabel="Position (nm)" ylabel="Gain (1/s/m^3)" ylegends="Gain" title="Optical gain"> |
-90 0 | -90 0 | ||
-85 0 | -85 0 |