PDA

View Full Version : meep simulation of photonic crystals, loop problem



amitalon
July 17th, 2009, 02:15 AM
Hi,

I'm trying to write Scheme code to use for meep, but I keep running into problems with my loop.
First, I'm trying to create the following geometry: 21x27 rods in the cell, and a single wave guide channel where there are 10 rods with a smaller radius and three with the same radius on each side, respectively. The center rod has a larger radius. For more details please check: http://ab-initio.mit.edu/papers/photons.html -- it's paper number 147.

I've attached my .ctl in .doc format for you to review. For some reason my loops in Scheme don't work, I'll really appreciate any input you have.

Thank you,

AA