Thanks for the tip, Matt. I based my code on that thread and a host of suggestions in the mailing list archives. I'm trying to come up with a list of newbie guidelines for MEEP simulations, but they have to work for me first. Let me play around with the script a bit, and If I don't get good results I will post a detailed email with the guidelines I picked up.
For debugging, is there a list of errors and possible causes somewhere that I could access? How about turning on line numbers in "unbound variable" errors? Ashifi On 11/4/06, matt <[EMAIL PROTECTED]> wrote:
That error usually means you've incorrectly specified the resolution with respect to the rest of the problem. There is a thread on this topic which should help clarify: http://ab-initio.mit.edu/pipermail/meep-discuss/2006-September/000340.html Instead of trying to figure out where you went wrong, I just tried changing (define-param resolution-ppw 20) to (define-param resolution-ppw .0000002), which seems to fix your problem. Of course, it's more logical to go through your script and find where you're incorrectly dividing/multiplying by a base unit and fix that. Then you'll be able to specify resolution in ppw sensibly. Kind Regards, Matt On Sat, 4 Nov 2006, Ashifi wrote: > When does MEEP throw this error: > > ---------------- BEGIN OUTPUT ------------------- > > [EMAIL PROTECTED]:~/meep-dir> meep pcb-polished-fixed.ctl > ----------- > Initializing structure... > Working in 2D dimensions. > block, center = (-2.35,10,0) > size (4.85,0.018,1e+20) > axes (1,0,0), (0,1,0), (0,0,1) > dielectric constant epsilon = -1e+10 > block, center = (2.35,10,0) > size (4.85,0.018,1e+20) > axes (1,0,0), (0,1,0), (0,0,1) > dielectric constant epsilon = -1e+10 > block, center = (-2.35,10.374,0) > size (4.85,0.018,1e+20) > axes (1,0,0), (0,1,0), (0,0,1) > dielectric constant epsilon = -1e+10 > block, center = (2.35,10.374,0) > size (9.7,0.018,1e+20) > axes (1,0,0), (0,1,0), (0,0,1) > dielectric constant epsilon = -1e+10 > meep: Cannot split 0 grid points into 1 parts > > [EMAIL PROTECTED]:~/meep-dir> > > ---------------- END OUTPUT ------------------- > > You can find the pcb-polished-fixed.ctl file attached or at this web > location: > > http://pastebin.us/7674 > > I'm basically trying to find the transmission spectrum of a slab of > epoxy sandwiched between two perforated copper sheets. The aim is to > duplicate the results in a paper by A. P. Hibbins and J. R. Sambles > titled "Squeezing Millimeter Waves into Microns", specifically Figure 3. > > Thanks. > > Ashifi. >
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

