Re: [Meep-discuss] MPB's bug ?

"Steven G. Johnson" <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
On Nov 1, 2009, at 12:36 PM, zhanyaohui wrote:
> I test the MPB example of diamond, on http://ab-initio.mit.edu/wiki/index.php/MPB_Data_Analysis_Tutorial 
>  , but output a strange image using mayavi2, why ? The lovely pic  
> was attached in enclosure.
>
> I guess there are something wrong with the mpb-data module, for It's  
> seem nothing were changed after run  "mpb-data -m 2 -r -n 32  
> epsilon.h5" ( without the "").

Probably you are looking at the wrong dataset in the file.  You want  
to use something like:

	h5tovtk epsilon.h5:data-new

where "data-new" is the new dataset created in the file by mpb-data,  
as opposed to the original dataset "data" which is still there.  This  
is described in the tutorial.

Steven

_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss
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.