POV-Ray : Newsgroups : povray.off-topic : RK4 is harder than it seems : Re: RK4 is harder than it seems Server Time
7 Sep 2024 05:09:36 EDT (-0400)
  Re: RK4 is harder than it seems  
From: Invisible
Date: 1 Aug 2008 09:37:46
Message: <489311aa$1@news.povray.org>
Warp wrote:

>   But you have to calculate the center of mass of the whole group, and
> since each element of the group can change independently of the others,
> that would mean you have to re-calculate this center of mass each time
> anything changes.

That's true. I think you're probably still saving yourself work though. 
Compute that center of mass once and use it many times, verses computer 
many object-object interactions many times over.

It depends on what you're simulating of course, but I would think there 
are probably also situations were you can just disregard really distant 
particles.

>   Also another problem is that groups don't stay the same. If a particle
> not belonging to the group enters the "inside" of the group, it cannot
> be calculated anymore against that group as if it was just one single
> mass located at the center of mass of the group.

Isn't this just the "normal" problem of performing space partitioning 
with moving objects?

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.