On May 5, 2008, at 3:11 PM, sq wrote: > > I wanna set a point monitor in the simulation, which can sample > fields at a > specified point and within a specified time interval. I set > “(run-until 236 (at-every 0.01 (in-point (vector3 10 10 10) output- > efield- > x)))”, > but the output field is many single hdf5 file. I would like to get > only one > hdf5 file, which can sample fields at a specified point and at every > time > step. Does anyone know how to write ctl file? Thanks a lot.
Use (to-appended "ex" output-efield-x) which will output a single HDF5 file with the single point as a function time time. (There is an example of this in the Meep tutorial.) Alternatively, since it is just a single point and it's not a huge amount of data, you can just use "print" with get-field-point to output the value directly to standard output as text. Steven _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

