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

But the produced vtk-file just contains the Ex component:
In Mayavi I can only choose to visualize ex, also the header of  
test.vtk is:

# vtk DataFile Version 2.0
Generated by h5tovtk.
BINARY
DATASET STRUCTURED_POINTS
DIMENSIONS 50 50 50
ORIGIN 0 0 0
SPACING 1 1 1
POINT_DATA 125000
SCALARS ex float 1    <--- shouldn't this be different if it was a  
vector vtk?
LOOKUP_TABLE default

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