On Sat, 21 Oct 2006, matt wrote:
I'm curious about differences in computation time between the libctl interface and directly using the c++ libraries. Simply time-stepping seems to take 1.5 to 2 times as long when using the c++ libraries as when using the libctl interface, for the "same" problem.

The libctl defaults to using real fields when possible. The C++ interface always uses complex fields unless you explicitly tell it to use real fields. That's my first guess for why you have a speed difference.

Steven

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to