On Mon, 26 Nov 2007, Robert Rehammar wrote:
> I have a question regarding setting the parameter resolution. If I set
> it in the beginning of my script, see http://pastebin.com/m401fa8a7 line
> 97 or if I set it in the end, see http://pastebin.com/m1566cf45 line
> 158, meep behaves completely differently (no other difference in the two
> files).

You need to set the resolution and similar parameters before calling 
add-flux, init-fields, init-structure, or run.  In particular, you're 
moving it past an "add-flux", which has the side effect of initializing 
the fields etc.

Regards,
Steven G. Johnson

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to