Hello all,
I am a beginner working with Scheme (some experience with Python) and I
am trying to use Meep tomodel the interaction of light at 45-degree
incidence with a surface having a grating on it.
To start off with, I set up a simple examplepasted here
<http://pastebin.com/kaL21eL4>which does what I expect. My writing style
is probably not ideal, and I'd welcome any pointers, but at the moment
I'm not looking to overhaul that code- it works and for now that's all
that matters.
The problems arise (as usual) when I try and be clever.Here
<http://pastebin.com/WD2bZvt8>is some longer, more complicated code
where I've tried to implement a Gaussian pulse light source (to analyse
the frequency response of the system, similar tothis example
<http://ab-initio.mit.edu/wiki/index.php/Meep_Tutorial#Transmission_spectrum_around_a_waveguide_bend>
which it's based on). When I run this code, I keep getting the error:
|ERROR: no value for property component
|
I'm assuming that this means that somewhere in there, Meep thinks I've
called
|(component )
|
with no argument, but using ctrl+f to go through every instance of
"component" in the code, each one has its associated "Ez" value right
next to it.
Again apologies that the code is messy; I've tried to leave a few
comments to give you the gist of what's going on, I'm just really not
sure what I'm missing!
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss