> > according to your reply, here are a few calculations: > > a=1 micrometer =1*10^-6 meter > > resolution =1000 > > courant=.5 > > hence > > dt=2000 a/c in meep units. > > or > > dt=2000*10^-6/(3*10^8) > > =6.66*10^-11 seconds > > is it correct? > Please look how Meep units are defined: http://ab-initio.mit.edu/wiki/index.php/Meep_Introduction#Units_in_Meep Time unit in SI is: t = a / c = 1e-6 / 3e8 = 3.3e-15 s (3.3 fs) If your resolution r=2000, dt = t/r = 3.3e-15/2e3 = 1.6e-18 s And now if you know dielectric constant value in the material you can, you can calculate speed and length of your wave in this material and then you can simply how many wavelengths will pass the point at the single timestamp. -- Regards, Pawel Smolinski Faculty of the Fundamental Problems of Technology Wroclaw University of Technology, Poland
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss