optics{ global_refractive_index{ } }¶
usage: \(\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;group}}\)
items: \(\mathrm{maximum\;1}\)
This group is used to specify the effective refractive index \(n_\mathrm{eff}(\lambda)\) of the modelled device.
Important
The following general conditions must be satisfied when defining optics{ global_refractive_index{ } }
Exactly one of the following must be defined: database_spectrum{ }, import_spectrum{ }, constant_spectrum{ } within this group.
Maintained Keywords¶
The keywords below are available in at least one of currently published releases and are planned to be included also in the next release.
database_spectrum{ }¶
usage: \(\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;group}}\)
items: \(\mathrm{maximum\;1}\)
Importing the spectrum from the database or external files.
database_spectrum{ name }¶
usage: \(\mathrm{\textcolor{WildStrawberry}{required\;within\;the\;group}}\)
type: \(\mathrm{character\;string}\)
Name of the spectrum contained in the database.
import_spectrum{ }¶
usage: \(\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;group}}\)
items: \(\mathrm{maximum\;1}\)
Importing spectrum from a file
Important
The following general conditions must be satisfied when defining import_spectrum{ }
The global group import{ } is specified in the input file.
import_spectrum{ import_n_from }¶
usage: \(\mathrm{\textcolor{WildStrawberry}{required\;within\;the\;group}}\)
type: \(\mathrm{character\;string}\)
Path to a spectrum of the real part of the refractive index for importing
import_spectrum{ import_k_from }¶
usage: \(\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;group}}\)
type: \(\mathrm{character\;string}\)
Path to a spectrum of the imaginary part of the refractive index for importing
import_spectrum{ cutoff }¶
usage: \(\mathrm{\textcolor{WildStrawberry}{required\;within\;the\;group}}\)
type: \(\mathrm{choice}\)
choices:
yes
;no
If set to yes
, then the values of the spectrum which are outside the definition interval are set to zero.
Otherwise, the spectrum is extrapolated as a constant with the value on the boundary of the imported data.
import_spectrum{ energy_spectrum }¶
usage: \(\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;group}}\)
type: \(\mathrm{choice}\)
choices:
yes
;no
default:
no
If set to yes
, then the imported spectrum is assumed to be given as a function of energy.
Otherwise, the spectrum is assumed to be given as a function of wavelength.
constant_spectrum{ }¶
usage: \(\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;group}}\)
items: \(\mathrm{maximum\;1}\)
Specify a constant refractive index spectrum
constant_spectrum{ n }¶
usage: \(\mathrm{\textcolor{WildStrawberry}{required\;within\;the\;group}}\)
type: \(\mathrm{real\;number}\)
values:
(0.0, ...)
unit: \(\mathrm{-}\)
default:
1.0
Constant value of the real part of the refractive index.
constant_spectrum{ k }¶
usage: \(\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;group}}\)
type: \(\mathrm{real\;number}\)
values: no constraints
unit: \(\mathrm{-}\)
default:
0.0
Constant value of the imaginary part of the refractive index.
compute_absorption_coeff{ }¶
usage: \(\mathrm{\textcolor{WildStrawberry}{required\;within\;the\;group}}\)
type: \(\mathrm{choice}\)
choices:
yes
;no
Calculate absorption coefficient from imaginary part of the reflective index.