On May 13, 2010, at 7:16 AM, Shravan S wrote:
Is it possible to save the field values to a file (without overwriting) during a simulation. Also, if I am giving two run commands and storing the data after each simulation, is it possible to append it to the same file where meep stores the data during the first run? Because from what I observed it overwrites the values in the same file xyz.h5 if I give consecutive runs.
It's not easy to have a separate runs append to a single file, but it is possible; you just have to use a fairly low-level part of the interface.
However, it is trivial to have separate runs output to different files; e.g. you can use the "filename-prefix" input variable (see the reference manual) to add any desired prefix to the file names.
Steven _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

