Re: [Meep-discuss] Obtaining polarization dependent Poynting flux

2020-11-14 Thread Nikolaos Matthaiakakis
iscuss@ab-initio.mit.edu> Cc: stevenj@gmail.com<mailto:stevenj@gmail.com> Subject: Re: [Meep-discuss] Obtaining polarization dependent Poynting flux I am trying to obtain Px and Py for back-scattered light from a gold nanorectangle (under mp.Ex source illumination) by defining some dft mo

Re: [Meep-discuss] Obtaining polarization dependent Poynting flux

2020-11-12 Thread Nikolaos Matthaiakakis
I am trying to obtain Px and Py for back-scattered light from a gold nanorectangle (under mp.Ex source illumination) by defining some dft monitors as follows 1. set reference simulation dft monitor ## Reflexion DFT monitor box_DFT_re_ref = sim.add_dft_fields([mp.Ex,mp.Ey,mp.Hx,mp.Hy],

Re: [Meep-discuss] Obtaining polarization dependent Poynting flux

2020-11-11 Thread Nikolaos Matthaiakakis
-initio.mit.edu> Subject: Re: [Meep-discuss] Obtaining polarization dependent Poynting flux You get use the dft_fields feature to get whatever Fourier transformed fields you want and do whatever calculation you want. On Nov 11, 2020, at 11:02 AM, Nikolaos Matthaiakakis mailto:nikolao...@outlook.

Re: [Meep-discuss] Obtaining polarization dependent Poynting flux

2020-11-11 Thread Steven G. Johnson
You get use the dft_fields feature to get whatever Fourier transformed fields you want and do whatever calculation you want. > On Nov 11, 2020, at 11:02 AM, Nikolaos Matthaiakakis > wrote: > > Dear all, > > Since mp.get_fluxes() gives the Poynting flux due to all field components, I > was w

[Meep-discuss] Obtaining polarization dependent Poynting flux

2020-11-11 Thread Nikolaos Matthaiakakis
Dear all, Since mp.get_fluxes() gives the Poynting flux due to all field components, I was wondering if there is a smart way to obtain the Poynting flux through a monitor region separately for Ex and Ey, as well as the phase associated with them. Thank you for your time. Best wishes Nikolaos