This is the way you write mathematical operations in the scheme
programming language which MEEP uses. Basically (/ sy -2) means - sy/2.
Check out this website for more information on the syntax in scheme:
http://www.math.grin.edu/~stone/scheme-web/table-of-contents.html
Hope this helps,
George
Probably, you would better look at generic src_time class. AFAIK, you
just have to override its dipole(time) function to whatever function
you need. I don't have a working c++ example and would be glad if
anyone provides it.
wbr
Shawkat
2009/9/11, Chintha Handapangoda h_chin...@yahoo.com:
Dear
Hello,
I am simulating a continuous source which I switch off after time T=100.
Over this time I am using the add-flux fluntion to obtain the spectrum.
Theoretically, the spectrum should show equidistant nodes, the distance
between them being df=1/(2T).
However, looking at the output, the
Dear Mr.steven and all users:
I want to caculate the transmittance curves of a photonic crystals slab,
which is made of nonlinear medium. i knew how to caculate transmittance curves
for linear medium like as the example in the meep tutorial
(holey-wvg-cavity.ctl ). In pervious
4 matches
Mail list logo