Dear, Steven and meep users.

 

When I calculate the transmitted or reflected flux as below,

I wonder whether the results E-field or energy. 

 

 

(set! sources
 (list
  (make source
       (src (make gaussian-src (frequency fcen) (fwidth df)))
       (component Ex) (center 0 0 0)   ) ))


; flux plain
(define Flux; transmitted flux
 (add-flux fcen df nfreq
  (make flux-region
   (center 0.02 0 0) (size 0 0.04 0.04))   ))

 

(run-sources+ (stop-when-fields-decayed 20 Ex (vector3 0 0 0) 1e-03))
(display-fluxes Flux)

 

Because Meep Reference said like this :

flux-region

A flux-region object is used with add-flux below to specify a region in which Meep should accumulate the appropriate Fourier-transformed fields in order to compute a flux spectrum.

flux-region
A region (volume, plane, line, or point) in which to compute the integral of the Poynting vector of the Fourier-transformed fields.

 

Sincerely.

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

Reply via email to