Re: [Meep-discuss] Has anyone find there is memory leak in meep?

2009-11-16 Thread Steven G. Johnson
On Sep 28, 2009, at 9:34 PM, 李志强 wrote: I suspect meep has memory leak somewhere. When I do calculations with meep and oversee the occupancy of the memory, I find that the memory occupancy is increasing until the calculation ends. The memory occupancy after the calculation is obviously large

Re: [Meep-discuss] Strange error when installing meep

2009-11-16 Thread Steven G. Johnson
On Oct 26, 2009, at 4:07 AM, 李志强 wrote: When I try to compile meep for the second time on my computer where I compiled meep successfully before. I came across the error: "Linking to guile failed. guile-config is broken after configure". Everything needed has been intalled including libc

Re: [Meep-discuss] Question about time-average power and loop

2009-11-16 Thread Steven G. Johnson
On Nov 16, 2009, at 1:50 AM, 蒙自明 wrote: Dear Steven and all: I am a new user of Meep. What I want to ask is about: How can I determine the time-average input power and record the time-average output power at some position? According to the part "Units and Nonlinearity in Meep" on th

Re: [Meep-discuss] the PML layer is inside the cell, for meep1.11

2009-11-16 Thread Steven G. Johnson
On Nov 9, 2009, at 8:55 AM, 詹天荣 wrote: Is the PML layer inside the cell for meep 1.1.1 as prevoius version? Yes. See the Meep manual: The spatial thickness of the PML layer (which extends from the boundary towards the inside of the computational cell). Steven

Re: [Meep-discuss] Tilted beam source

2009-11-16 Thread matt
Hi Andrew, Excuse me - I misunderstood your problem. You are correct, meep only supports line sources that are parallel to the domain boundaries, and your solution is the only possibility for having a tilted beam in meep as of yet. The quotation you cite below is a different problem al

Re: [Meep-discuss] Tilted beam source

2009-11-16 Thread Andrew York
I have used line sources to generate pulsed Gaussian beams, but encountered difficulty when I tried to use the same technique to generate a tilted pulsed Gaussian beam. The method I tried first, unsuccessfully, was similar to what you suggest. Perhaps I do not properly understand your suggestion?

Re: [Meep-discuss] Tilted beam source

2009-11-16 Thread matt
Hi Andrew, There is an easier and more elegant way to do this using meep sources with non-point sizes (lines in 2d or surfaces in 3d). To make a line source in meep, you just specify the source to have some width (for periodic structures it is usually the lattice width). You then speci

[Meep-discuss] help: meaning of source component

2009-11-16 Thread 张宁
hello everyone last Saturday I ask a question about how to plot flux, and thank you. I write a square lattice using both mpb and meep to simulate. but I get different result. mpb tells me that band gap is 0.21 to 0.25 (normalized frequency). but meep tells me that band gap is 0.28 to 0.30 (no

[Meep-discuss] Tilted beam source

2009-11-16 Thread Andrew York
I needed a tilted, pulsed beam in one of my meep simulations, and I noticed a few others on the mailing list have asked for something similar. I decided to make my tilted-beam source out of a bunch of point sources, and it seemed to work pretty well. Hopefully someone else finds this useful, or po