Hi,

In the program I am developping now I have to be able to output a
given type of field (Ex, Hz, ... ) into
VTK files. It is a format useful for 3d-data storage and very
efficient for their 3d-visualisation.
As for now I am doing it with first outputtting the field through the
fields::output_hdf5
function into an HDF file and then converting them instantly into VTK. It works
but is pretty slow and definitely not elegant.

I would like a function to output the VTK file directly from meep. Or
even better would be if
I could have fast access to the field so that I could write a VTK file
with it by myself.
The problem is that the function fields::get_field works to slow when
used for copying
the field from the entire volume into a new array, which would be
needed for VTK output.

So is there maybe a way to copy the entire field array into a new
double*** array
or something like that ?

Thomas Jefferson

_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to