On Jul 28, 2008, at 11:06 PM, Jefferson Thomas wrote: > My application requires it because I am computing the Q factor based > on depencance of total energy on time. > I have been trying to do in with the meep::do_harminv and the methods > explained on http://ab-initio.mit.edu/wiki/index.php/Meep_C-plus-plus_Tutorial > but It simply does not work for me.
Try using a narrower bandwidth source around your cavity frequency. Possibly you are just exciting too many modes and it is getting confused. Also, make sure you only run harminv on the data after your source has turned off! Steven _______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss