Re: [Meep-discuss] Meaning of Complex fields in hd5 files

2014-04-28 Thread Filip Dominec
Hi, jayv, the real and imaginary fields should be the same except for that the imaginary part if shifted by 1/4 of its period. Thus computing the modulus of the complex fields you get a smooth, non-oscillating function, describing the magnitude of the field amplitude. I think you can disregard the

[Meep-discuss] Meaning of Complex fields in hd5 files

2014-04-27 Thread jayv
Hi, I recently started using MEEP, and have run some 2d simulations to generate h5 Ez files. For periodic boundary in the Y direction, the results are complex -- the h5 files contain both an ez_i and ez_r component. What are the meanings of these numbers? When I generated a new h5 file from