Re: [Meep-discuss] Meep Resolution problem

2009-07-14 Thread Steven G. Johnson
On Jul 14, 2009, at 2:07 PM, 曹 修豪 wrote: When I increase the resolution of same structure (a gaussian source for example) , the color of field pattern will get lighter (Using h5topng command) , is that normal? Yes. I'm guessing you have a point source (or a line source in 3d, or similar

Re: [Meep-discuss] Meep not working anymore

2009-07-14 Thread Steven G. Johnson
On Jul 13, 2009, at 5:49 AM, Marell, M.J.H. wrote: After installing an update on my Debian (Squeeze/Testing) system, MEEP doesn’t work anymore. Have you tried the example files (in the meep/examples directory of the Meep sources)? ___

Re: [Meep-discuss] geometry scanning with do loop

2009-07-14 Thread Steven G. Johnson
On Jul 12, 2009, at 2:15 AM, Kevin Huang wrote: (do ((StripSizeX 300 (+ StripSizeX 5))) ( StripSizeX 305) You are missing some parens. It should be: (do ((StripSizeX 300 (+ StripSizeX 5))) (( StripSizeX 305)) loop body ) Note also that you will need to call (reset-meep) in

Re: [Meep-discuss] (no subject)

2009-07-14 Thread Steven G. Johnson
On Jul 8, 2009, at 10:45 PM, 刘荣鹃 wrote: It donesn't work and shows 'ERROR: Unbound variable: mu-diag' Is it the problem from the meep version 0.20.3 I used? Yes, you need Meep 1.0 or later for this feature. ___ meep-discuss mailing list

Re: [Meep-discuss] problem about compiling in meep

2009-07-14 Thread Steven G. Johnson
On Jul 4, 2009, at 4:06 AM, Linran Fan wrote: Would anyone tell me how to add the directory containing `meep.pc' to the PKG_CONFIG_PATH environment variable? By default, it installs in: /usr/local/lib/pkgconfig/meep.pc Steven ___

Re: [Meep-discuss] PML

2009-07-14 Thread Steven G. Johnson
On Jul 3, 2009, at 5:26 AM, Lokesh Kumar wrote: Can a PML absorber be placed at an arbitrary place like any other material ??? Not really. It has to be parallel to the xyz axes, and it has to be as wide as the whole computational cell. In principle, if you wanted a strip of PML covering

[Meep-discuss] zero reflection and transmission

2009-07-14 Thread Charalampos Mavidis
Dear Dr Johnson and meep users, I am new to meep. I am trying to get the transmission and reflection of a 3D structure but I get 0 from all the fluxes. Can you see please if there is any mistake in my code? I think that the problem lies in the orientation of the flux-regions but I'm not sure.

[Meep-discuss] 3-D Runs, Output of various 2-D planes for various x values

2009-07-14 Thread Warner Miller
Dear Steven Johnson, I have a 3-D rectangular geometry (xgeom ygeom zgeom) and at the end of the simulation I would like to save the z-component of the electric field in the (ygeom, zgeom) planes at various values of xgeom. I do not want to store the entire data set as the file is too

[Meep-discuss] losing mode points problem in band calculation

2009-07-14 Thread 刘荣鹃
Hi, I'm using meep to calculate the band structure of waveguide band stucuture in 3D photonic crystal. When the resolution or cell size increase, I can't get the complete band structure any more(when resolution=8, I can get a complete band). The mode points at high K-point are alway lost. what's