Dear Steven, I am working at a single frequency in optical range. i am interested in getting the reflectivity and transmitivity for a geometry. for this i am using the add-flux function as explained in the meep-tutorial.
(define refl ;reflected flux (add-flux 1.53233 df nfreq (make flux-region (center (- -1.136 hc) -0.805 0) (size 0 0.05)))) (define trans ;transmitted flux (add-flux 1.53233 df nfreq (make flux-region (center (- -1.136 hc) 0.805 0) (size 0 0.05)))) this gives reflected spectrum at frequencies specified by the 'nfreq'. since i am working at single frequency, can i give df=0 and nfreq=1? this gives output only at the frequency 1.53323. can i accept this value to be correct? if i am to change the df= 2 and nfreq=10; then i get the following output: flux1:, 0.53233, -0.009760152348413, -2.77467380731901e-4 flux1:, 0.754552222222222, -0.0282921647987324, -6.22401047402754e-4 flux1:, 0.976774444444444, 0.0307616314391254, -5.80801342515952e-4 flux1:, 1.19899666666667, -0.342825072839894, 0.0185655167756471 flux1:, 1.42121888888889, -1.56261527963199, -0.0529434687230871 flux1:, 1.64344111111111, -0.375459332301051, 0.103835929891208 flux1:, 1.86566333333333, -0.321363960668525, -0.0270822765490963 flux1:, 2.08788555555556, -0.0769738566986278, -0.0154287635671085 flux1:, 2.31010777777778, 4.46446856076942e-4, -0.00169755116977234 flux1:, 2.53233, -0.0257220634760312, 0.00667896692508168 but i am working at single frequency. i expect the the spectrum to show amplitude only near my operating frequency. kindly explain. Thank you for your time. regards Ajay -- Ajay Ram S K S M MSc(Physics) Sri Sathya Sai University Prasanthi Nilayam India. _______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss