Hello,

I discovered a rather strange behavior in meep.

I'm running some scattering simulations for a grating with a back-scatterer (PEC backing).

I specify the back scatterer manually (instead of only setting a Metallic boundary condition) because it has a odd shape.

Because of what I assume are rounding errors, the scatterer defined at the bottom of the domain wraps to the top of the domain. This is okay because I have a PML at the top.

When this happens however, the load-minus-flux fails with the following error:

meep: incorrect dataset size (48000 vs. 96000) in load_dft_hdf5 
./test2-refl-flux_noscat_sim_0deg_75res_Hz.h5:ez_dft

This doesn't happen if I change the scatterer from metal to something else.

I thought the problem might be whether meep is using complex fields, but forcing complex fields in the no-scatter run doesn't solve the problem.

Here I have a minimal script that duplicates the problem:
http://pastebin.com/f168203b6

I'm using meep version 1.0.

Best,
Matt




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

Reply via email to