On Fri, 16 Feb 2007, matt wrote:
The simulation runs correctly, but I wasn't able to successfully
visualize the structure using h5topng.

1) Why is metal listed as "inf" in the h5dump, and not "-inf"?

Possibly a bug in h5dump (I'm guessing it doesn't distinguish the sign of infinity?)

2) The dielectric constant is 10.  Why are there values between 1 and
  10 in the h5dump, if eps-averaging? is false?

Even if you turn epsilon averaging off, it still does some very simplistic averaging. You can disable this by changing the following line (192) in anistroptic_averaging.cpp:

#if 1 // legacy method: very simplistic averaging (TODO: delete this?)

to

#if 0

3) Are then any specific tips anyone can give for getting a good
  output for metallo-dielectric structures with h5topng?

I would use -m 0 to set the minimum of the colorscale to 0, as otherwise the -inf will screw up the colorscale.

Steven

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

Reply via email to