Dear Alex,

You can decide which dataset extract with the command 'h5tovtk' using the
modifier "-d" followed by the name of the dataset.
By default extracts the first dataset that in your case is 'ex' (look at the
man page)

To extract 'Ey' dataset for instance:

>> h5tovtk -t 150 -o test.vtk -d ey test-e.h5

Best,

J.D.Domenech



Alex wrote :
>
> Dear Steven and meep community,
> I created a hdf5-file with all E-field components using
> ...
> (to-appended "e" (at-every 0.5 output-efield))
> ...
>
> this seems to work, since h5ls gives:
>
> h5ls test-e.h5
> ex                       Dataset {50, 50, 50, 200/Inf}
> ey                       Dataset {50, 50, 50, 200/Inf}
> ez                       Dataset {50, 50, 50, 200/Inf}
>
> Now I want to convert this hdf5-file into the vtk format, a vector vtk
> file for mayavi (to get a vector plot with arrows), using
>
> h5tovtk -t 150 -o test.vtk test-e.h5
>
> .....
>
> .....
>
> What am I doing wrong?
> Thank you very much for your help in advance!
>
> Regards
> Alex
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to