[Meep-discuss] to specify epsilon as an arbitrary function of frequency

2012-01-27 Thread hodjat hajian
Dear Steven and Meep users Hi. Is it possible to specify epsilon as an arbitrary function of frequency (not in Lorentzians or Drude form) in Meep? If your answer is NO, please give me an alternative. Thank you in advance for your time. Hodjat ___ meep-d

[Meep-discuss] where is the proper position and what is the best width for the source in a structure

2011-06-09 Thread hodjat hajian
Hi dear users, Where is the proper position and what is the best width for the source in a structure? How about the detector? Thanks you in advance, Hodjat. ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/m

[Meep-discuss] converting data from a ".dat" file to matrix

2011-06-06 Thread hodjat hajian
Dear users hi, I extract some data in a comma-delimited format in a .dat file, as below:flux1:, 0.25, 2.64484059275628e-4 flux1:, 0.250400801603206, 2.87434928639728e-4 flux1:, 0.250801603206413, 3.12270609926369e-4 . . . The firs column is "frequency" and the second one is "transmission". I w

[Meep-discuss] correction of the mistake in calculating normalized transmission through a cavity in a square lattice PC

2011-06-05 Thread hodjat hajian
Hi dear users. I want to calculate the transmission (Fig.3c) that is illustrated in this paper (Phys. Rev. B, Vol. 54, Num. 11 , pages:7837-7842), but my result is different. The program that I've used in Meep is as below, but the result is different from Fig. 3c. Help me to correct the mistake p

[Meep-discuss] to make square/triangular lattice of holes in a dielectric background

2011-06-04 Thread hodjat hajian
Dear users, Hi. I want to make square/triangular lattice of holes in a dielectric background. The below program makes a row of air holes in a dielectric background: (set! geometry-lattice (make lattice (size sx sy no-size))) ; sx and sy define the size of computational cell (set! geometry (appen

[Meep-discuss] applying the TF/SF technique using Meep

2011-05-30 Thread hodjat hajian
Hi dear users, My question is about the Total Field/Scattered Field (TF/SF) technique: How can we apply the TF/SF technique using Meep? Best, Hodjat.___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/l

[Meep-discuss] a question about MPB

2011-05-17 Thread hodjat hajian
Hi everybody, I am a new user of MPB. I have written a program in a ctl file (Its name is band). That program can be ran correctly on MPB. But I don't know how can I directing the output to a output file and plot it. In other words, I don't know that how can I use this commands: "unix% mpb band

[Meep-discuss] (no subject)

2011-02-03 Thread hodjat hajian
Hi, This is Hodjat Hajian, a PhD candidate of Solid State Physics, The University of Tabriz, Tabriz, Iran. I have one question about the applications of "the meep software". Please answer to my question. The question is as below: 1) Can we do the below calculations for the &quo