Dear Mischa, I agree, there's no problem you can't find a solution to in either the manual or on the mailinglist. Yet, I somehow overlooked the 'loop'-examples on the website...they're very clear and I've solved the problem.
Best regards, Milan ________________________________ From: Mischa Megens [mailto:[email protected]] Sent: Tuesday, February 16, 2010 7:26 PM To: Marell, M.J.H. Subject: Re: [Meep-discuss] Parameter sweep in MEEP (scheme interface) Hi Milan, Yes there are several possibilities. In Scheme, you could use (do ...), or make an array of parameters and use (map ...). Outside of meep, you could use a shell script (quite a few people appear to prefer this approach, and you can find it in de mailing list archive as well as in the ref. pages). But all this is not specific to meep, and frankly my impression is that what applies here is the adage: 'if all else fails, read the manual'. Good luck, m. Marell, M.J.H. wrote: Hello everybody, Does anyone know if it is possible to sweep a certain parameter in MEEP, or do some kind of loop, using the scheme interface. I'd like to make some kind of 3D trapezoid shape by placing a lot of rectangles with decreasing size on top of eachother. Best regards, Milan Marell ________________________________ From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Hassan Aghababaeian Sent: Tuesday, February 16, 2010 7:41 AM To: [email protected]<mailto:[email protected]> Subject: [Meep-discuss] How to observe the coupling efficiency in coupled PCWG? Dear Prof. Johnson and PBG Researchers I am using two parallel PCWG as coupler, input source in PCWG1. I need to calculate the power coupling and evolution of fields in second PCWG, to find out the place of maximum field (to find coupling length). So I used several flux regions and use the display-fluxes MEEP function to calculate the flux spectrum in each, and compare fields strength to find the maximum, after several iteration and manual change on location of flux region. But may you see this is not efficient method. does anybody has any better idea to calculate field evolution? clearly say: How to observe the coupling efficiency in coupled PCWG? Regards ________________________________ _______________________________________________ meep-discuss mailing list [email protected]<mailto:[email protected]> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

