This shows you the differences between two versions of the page.

en:pwe [2013/01/24 02:56]
deinega [Eigenmodes spatial distribution]
en:pwe [2013/02/14 00:56] (current)
deinega [Waveguide modes. Supercell technique.]
Line 152: Line 152:
   int rsl=10;   int rsl=10;
   for(int i=0;i<=rsl;i++)   for(int i=0;i<=rsl;i++)
-    task.AddWaveVector(Vector_3(0,i*.5/rsl,0),str);+    task.AddWaveVector(Vector_3(0,i*.5/rsl,0));
   task.Calculate();   task.Calculate();
Line 196: Line 196:
     }     }
   }   }
   task.SetPolarization("TM");   task.SetPolarization("TM");
Line 243: Line 242:
 {{pwe:field_waveguide.png}} {{pwe:field_waveguide.png}}
 +In this example we plot eigenmode corresponding to band 7 at wavevector 0.4. This is waveguide mode (it also can be seen from results for bandstructure). We choose gnuplot parameter 'cmax=4' for better color resolution (for other eigenmodes optimal value of cmax could be different). We plot real part of eigenmode <tex>{\rm Re}({\bf E})</tex>. Electric field in time is a combination of real and imaginary parts: <tex>{\rm Re}({\bf E}\exp{(i\omega t)})</tex>.
 ====== Bandstructure of 3D photonic crystals ====== ====== Bandstructure of 3D photonic crystals ======
 +Not ready yet.
 +If you need it urgently, just send email to Alexei Deinega.
/home/kintechlab/fdtd.kintechlab.com/docs/data/attic/en/pwe.1358981765.txt.gz · Last modified: 2013/01/24 02:56 by deinega     Back to top