optics{ global_refractive_index{ } }¶
using: \(\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;scope}}\)
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{ }¶
using: \(\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;scope}}\)
items: \(\mathrm{maximum\;1}\)
Importing the spectrum from the database or external files.
database_spectrum{ name }¶
using: \(\mathrm{\textcolor{WildStrawberry}{required\;within\;the\;scope}}\)
type: \(\mathrm{character\;string}\)
Name of the spectrum contained in the database.
import_spectrum{ }¶
using: \(\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;scope}}\)
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 }¶
using: \(\mathrm{\textcolor{WildStrawberry}{required\;within\;the\;scope}}\)
type: \(\mathrm{character\;string}\)
Path to a spectrum of the real part of the refractive index for importing
import_spectrum{ import_k_from }¶
using: \(\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;scope}}\)
type: \(\mathrm{character\;string}\)
Path to a spectrum of the imaginary part of the refractive index for importing
import_spectrum{ cutoff }¶
using: \(\mathrm{\textcolor{WildStrawberry}{required\;within\;the\;scope}}\)
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 }¶
using: \(\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;scope}}\)
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{ }¶
using: \(\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;scope}}\)
items: \(\mathrm{maximum\;1}\)
Specify a constant refractive index spectrum
constant_spectrum{ n }¶
using: \(\mathrm{\textcolor{WildStrawberry}{required\;within\;the\;scope}}\)
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 }¶
using: \(\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;scope}}\)
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{ }¶
using: \(\mathrm{\textcolor{WildStrawberry}{required\;within\;the\;scope}}\)
type: \(\mathrm{choice}\)
choices:
yes
;no
Calculate absorption coefficient from imaginary part of the reflective index.