[Meep-discuss] vacuum LDOS

2017-07-17 Thread mayawei
Dear Steven and other users, As we all known Green’s function has a singularity at r=r’, so if meep calculate LDOS from the trace of the Green's function, can I get vacuum LDOS from following codes? The analytical solution of vacuum LDOS is omega^2/(pi^2* c^3).The result of my code seems

Re: [Meep-discuss] Epsilon of Silicon

2017-07-17 Thread Ardavan Oskooi
Fitting the complex refractive index of a material over a broad bandwidth to a sum of Drude-Lorentzian susceptibility terms requires some trial and error, as explained in a previous post, and another. As an example, here are the fitting parameters for crystalline

[Meep-discuss] Epsilon of Silicon

2017-07-17 Thread ps13ms039
Dear all, I want to model silicon material in meep. I want to fit a drude model for Silicon and change the plasmonic freuqnecy. The formula is: eps(w) = eps_inf - ((w_p/w)^2)/(1 + i/(w*tau) ). I am not getting results and I am also not able to check epsilon values at freqs. Please help! Here

[Meep-discuss] Meep C++ library in ubuntu environment

2017-07-17 Thread Fan, Lingling
Hello Steven, I have tried to run the codes (physical.cpp) under /tests, but failed. I used the ubuntu, and I cd to the cpp file location, and enter commands "sudo apt-get install libmeep-dev", then "g++ physical.cpp". The result tells me that "undefined reference to 'meep……'. I am new to

[Meep-discuss] Periodic Boundary in Meep

2017-07-17 Thread Maximin Fotsing kuetche
Good day everyone, I want to make FDTD-Meep calcul with a structure periodic in two direction X and Z and I want to make sure that my .ctl file is good.I essentially have doubt with the necessary variables to set periodic boundaries conditions. Here is a part of my .ctl file: (set!