Dear all, I am a newbie to meep and am using it through the C++ interface. Now I have some questions about the units:
Suppose I am using a Micron as the length unit and set resolution=20, then the distance between the adjacent grid points is 1/20 micron. The dt (\deltaT) is then set to Courant/resolution, i.e. 0.5/20 = 0.025 (in the C++ code of grid_volume, here is Courant/a , but a take the value of resolution, i.e. 20) If the dt is in the "meep time unit", it should be "a/c" as stated in the . Now, my question is: In my case, the time unit should be 1) 1 micron / the speed of light = 1 micron / (299,792,458 meter/second ) = 3.33564095198152e-15 seconds? or 2) the speed of light/(1/20)micron = 299,792,458 meter/second / 0.05 micron = 6.67128190396304e-14 seconds? Could anyone clarify me at this point? I am confused because i noticed that in "grid_volume" the resolution is assigned to a variable named as "a". Is the "a" in "grid_volume" means same as the "a" used in the tutorial and manuscript? I would be appreciated if anyone can help. Thanks a lot, Jason (Jian SUN) _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

