Re: [Meep-discuss] std::bad_alloc Error

2011-07-27 Thread mehdi kamali
Dear Askari I think it is because of your system limitation for RAM or swap space. Because in 3D simulations it needs so more space for grid generation and run. Mehdi Kamali Message: 2 Date: Wed, 27 Jul 2011 14:31:31 +0430 From: Mehdi Askari To: meep-discuss@ab-initio.mit.edu Subject: [Meep-dis

Re: [Meep-discuss] std::bad_alloc Error

2011-07-27 Thread Georg Wachter
Hello, I head the same error on occasion. You are probably trying to generate a grid of more than ~2e9 mesh points (the maximum of integer). This appears to be currently impossible. I'm afraid the only thing you can do is reduce the grid size or look for the relevant part of the source code. Also

Re: [Meep-discuss] best approach for building complicated 3D models for MEEP?

2011-07-27 Thread Nizamov Shawkat
Hello! As far as I know there is no standard file that meep could import as a 3D model. If you do not mind python then I would suggest you to use 1) Free-cad http://sourceforge.net/projects/free-cad/files/FreeCAD%20Linux/ 2) python-meep You still have to write a layer that would transform cad

[Meep-discuss] std::bad_alloc Error

2011-07-27 Thread Mehdi Askari
Dear meep users I have a ctl file for a 3-dimensional simulation. ​When I run the simulation, one of the two following errors appear: 1) " meep: cannot split -1399431680 (or another number) grid points into one " 2) " terminate called after throwing an instance of 'std::bad_alloc'