Use the normalization approach in the manual — run two simulations, one without the scattering structure, and subtract them to get the scattered fields. You can apply this to either time-domain fields or Fourier-transformed fields (dft_fields).
> On Jan 18, 2021, at 7:55 PM, Nagma Vohra <[email protected]> wrote: > > Hello, > > Is it possible to calculate the reflected electric field without using > near2far field transformation? I want to calculate the reflected field at or > a cell above the surface of the geometry. I thought to use the > transmittance/reflectance tutorial given in meep but it calculates flux and > not the electric field. Could you please direct me to a tutorial or something > to implement it, if it is possible to do so? I will appreciate any help on it. > > Thank you! > _______________________________________________ > meep-discuss mailing list > [email protected] > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

