Re: How is dielectric data in the .h5 'slices' stored?

"Steven G. Johnson" <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
On Jul 21, 2008, at 3:18 PM, True Merrill wrote:
> stored.  From what I can see, the data is stored like this:
>
> epsilon.h5 -->	data
> 				description
> 				epsilon.xx
> 				epsilon.xy
> 				epsilon.xz
> 				epsilon.yy
> 				.
> 				.
> 				.
> 				epsilon_inverse.xx
> 				epsilon_inverse.xy

The "data" array is an effective scalar epsilon for each point (which  
should correspond to a simple mean epsilon for that pixel if you had  
isotropic materials to start with).

The other arrays are components of the epsilon tensor and the inverse  
tensor, in Cartesian coordinates.  Note that even if you start with  
isotropic materials, MPB uses anisotropic materials internally near  
material interfaces to improve accuracy, as described in the MPB paper.

For most purposes, you just want to look at "data", as in the MPB  
tutorial.

Steven
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.