Re: [Meep-discuss] Speed comparison of meep running in Scheme and C++. C++ is several times slower ?

2008-07-14 Thread Jefferson Thomas
That is right. I started using fields::use_real_fields and it got about 2 times faster. Could you tell me how much it influences the results ? One more funny thing I noticed about fields::use_real_fields is that now the problem with not working HDF fields output that I described in an other mail

Re: [Meep-discuss] Speed comparison of meep running in Scheme and C++. C++ is several times slower ?

2008-07-12 Thread Steven G. Johnson
On Jul 7, 2008, at 4:37 AM, Jefferson Thomas wrote: I am developing an application using C++ meep. I have just done some speed tests in the same environment using meep in Scheme mode and as a C++ program. Here are the files i used: [...] As you see both descibe the same experimental

[Meep-discuss] Speed comparison of meep running in Scheme and C++. C++ is several times slower ?

2008-07-07 Thread Jefferson Thomas
Hi, I am developing an application using C++ meep. I have just done some speed tests in the same environment using meep in Scheme mode and as a C++ program. Here are the files i used: CTL file test.ctl: (set! geometry-lattice (make lattice (size 5 10 2))) (set! sources (list (make