As an off-topic solution, there's always the GPU to do the the particle
updating. With half decent optimization, I've gotten over a million
particles in *real-time*. You could presumably run several of these at the
same time to get as many particles as you want. Downside would be
ease-of-impleme
On Mon, Jun 29, 2009 at 8:20 AM, Prashant Saxena wrote:
> Hi,
>
> I am doing a little test using numpy and numexpr to do a particle
> simulation. I never used either of them much and this is the first time I
> have to go deeper. Here is the code:
>
> import numpy as np
> import numexpr as nexpr
>
>
Hi,
I am doing a little test using numpy and numexpr to do a particle simulation. I
never used either of them much and this is the first time I have to go deeper.
Here is the code:
import numpy as np
import numexpr as nexpr
class Particle( object ):
def __init__( self, id ):
s