On Jul 14, 2009, at 2:07 PM, 曹 修豪 wrote:
When I increase the resolution of same structure (a gaussian source for example) , the color of field pattern will get lighter
(Using h5topng command) , is that normal?

Yes. I'm guessing you have a point source (or a line source in 3d, or similar variations). The field from a point source is singular -- it blows up as you approach the source. At any finite resolution, this singularity is truncated to a finite value by the discretization, but the peak field (at the source location) increases as you increase the resolution.

If you use the default color scale (no -m or -M options) in h5topng, this increasing peak field will make everything else lighter.

Howerver , I use the -m and -M options of h5topng command to redifine color scale , for example , using -v option can get an "all data range = -18.xxxx ~ +18.xxxx" for resolution 200 and "-1.8xxx ~ +1.8xxxx" for resolution 20 from terminal , is this solution correct?

Yes. You are seeing precisely the increase of the peak field at the source location with resolution that is expected for a point source.

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

Reply via email to