On Wed, 13 Jun 2007, Ken Kumagai wrote: > I try to simulate EBG(Electromagnetic BandGap) ground > plane like an attached picture with Meep to get a band > diagram. EBG ground plane is composed of PEC ground, > dielectric substrate, periodic patches, connecting > vias. I don't know the thickness of metal. I set it > 0.1 mm. > > I finished a calculation with attached ctl file. But > the band diagram seems to be wrong. Precisely, the > geometry is wrong. I executed h5topng -0x0. But I got > only black long rectangle.
A perfect metal in Meep corresponds to an epsilon that is a large negative number (-1e20). This will screw up the color scale in h5topng, since h5topng by default uses a linear color scale from the minimum to the maximum value. To fix the color scale, you can force the minimum value of the color scale to be zero with "h5topng -m 0". Steven _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

