Hi
  I have just viewed the code of caculating the transmission spectrum
of a given material in the meep tutorial. However it is using the ctl
file to do the caculation.
  I wonder if anyone can tell me the c++ code of doing the following command
        (define trans ; transmitted flux
        (add-flux fcen df nfreq
                  (make flux-region
                    (center (- (* 0.5 sx) dpml 0.5) 0) (size 0 (* w 2)))))
 besides, it would be appreciated if the following ctl command can be
translated to c++ code
          (stop-when-fields-decayed
               50 Ey
               (vector3 (- (* 0.5 sx) dpml 0.5) 0)
               1e-3)

 Thanks.
     pq

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

Reply via email to