Hello,

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.

libctl:
on time step 9262 (time=57.8875), 0.00215754 s/step
c++:
on time step 9090 (time=56.8125), 0.00308193 s/step

This struck me as odd because the libctl meep binary and the c++ example were compiled on the same machine. Are there other factors which would influence this? Would it be possible for me to make some changes to bring the c++ speed on par with the meep binary speed?

Best Regards,
Matt

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

Reply via email to