The URI of TUHH Docker Registry changed from "docker.rz.tu-harburg.de:5000" to "docker.rz.tu-harburg.de". Please update your gitlab-ci.yml files if you use images from this registry.

Commit 2172638f authored by Hendrik Preuss's avatar Hendrik Preuss

corrected units of frequency

parent dfdf8cdb
......@@ -107,17 +107,17 @@ int main(int argc, char *argv[]) {
}
printf("; refractice_indeces=");
for(unsigned i = 0; i < n.size(); i++) {
printf("%g", n[i]);
printf("%g,", n[i]);
}
// layer names as used in wgdef (length = layers + 2)
printf("; labels=freq,lambda,k_0,n_eff,b_eff");
printf("; units=THz,um,1/um,,1/um");
printf("; units=Hz,um,1/um,,1/um");
printf("}\n");
double lambda;
double lambda; // [um]
// For a sweep the following section can be put into a loop.
// The function f_p needs to be adapted to include the sweep parameter.
for(double freq = 0; freq <= 500e12; freq += 0.01e12) {
for(double freq = 0; freq <= 800e12; freq += 0.01e12) { // freq [Hz]
lambda = c / freq;
// output of the effective refractive index
double* n_eff = new double();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment