Hi Emmanuel, Thanks for your reply. Do you mean using the eps.h5 file using the h5totxt command to extract a slice? But this only has one data column, which the value of the pixel. I need to output both position and its epsilon value.
I am checking in the functions to see which gives me access to the position. Do you know which would do the job? thanks regards Geeth On Thu, Mar 3, 2011 at 6:28 PM, Emmanuel Lambert < [email protected]> wrote: > Hi Geeth > > Create a HDF5 file with the full epsilon in 3D. Then you can use the > command line tool h5topng to create a PNG file for a vertical slice > > Since you are using C++, have you checked out the python wrapper for > Meep? > > wbr > Emmanuel > > > > On Thu, 2011-03-03 at 16:54 +1100, Geethaka Devendra wrote: > > Hello Prof Steven and Meepers, > > > > > > I am using the c++ interface of MEEP and want to output epsilon values > > depending on vertical position. In other words, I want to output the > > epsilon of each pixel in a vertical line. I checked the classes > > "fields", "structure", and "vec" but didnt find how. Can someone give > > me a hint please, that would be really great. I know I have to use > > get_eps() with the position to get the corresponding epsilon value. I > > need to run this in a loop, but dont know which function to use to get > > the position. > > > > > > I really appreciate some hints...I would really appreciate it > > > > > > Thanks alot > > Geeth > > _______________________________________________ > > meep-discuss mailing list > > [email protected] > > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss > > >
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

