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 component
*components, field_rfunction fun, void *fun_data_, const Geometric_Volume
&where, H5file *file=0, bool append_data=false, bool single_precision=false,
const char *prefix=0)

I guess the first parameter const char* maybe the output filename which can
be defined by user arbitrarily. The problem is I do not know how to set
field_rfunction fun and void* fun_data_. Can anyone help?

_______________________________________________
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