Re: [Meep-discuss] How to manipulate the output file name in c++ interface

2009-09-22 Thread Nizamov Shawkat
You can use open_h5file() method of field class to obtain a filehandle for arbitrarily named datafile. Then you can supply it as h5file argument (not dataname) for any output_hdf5 method. dataname has different meaning - it is a name of dataset in datafile. 2009/9/19, 李志强 : > Hi all! > > I want

[Meep-discuss] How to manipulate the output file name in c++ interface

2009-09-22 Thread 李志强
Hi all! I want to manipulate the output filename in c++ interface. I have browsed the meep source code and find the function output_hdf5 is overloaded, it contained one which I think may be used manipulate the output name: void output_hdf5 (const char *dataname, int num_Fields, const componen