comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » N-body integrator
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
N-body integrator [message #73292] Wed, 03 November 2010 13:45 Go to next message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
Hi all,

Does anyone have an N-body integrator written (a) in IDL, or (b) in a
DLM? I wrote an RK4 version, but there are much more efficient
algorithms out there, and I was wondering if anyone had anything.
Thanks!

--Gray
Re: N-body integrator [message #73407 is a reply to message #73292] Thu, 04 November 2010 07:25 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
On Nov 3, 4:45 pm, Gray <grayliketheco...@gmail.com> wrote:
> Hi all,
>
> Does anyone have an N-body integrator written (a) in IDL, or (b) in a
> DLM?  I wrote an RK4 version, but there are much more efficient
> algorithms out there, and I was wondering if anyone had anything.
> Thanks!
>
> --Gray

I have a Barnes-Hut tree force calculator with a leapfrog integrator
that's written in IDL... the force calculator is standalone, but the
integrator would require a few minutes of work to extract from the
piece of code that it's in. Let me know if you need it and I can get
the main parts out for you.

But... you *really* don't want to do it in IDL. It's inherently an
iterative problem, which is not well-suited to IDL. Write it in C or
python or something. :-)=

-Jeremy.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Overplot behalfs strange
Next Topic: Re: IDLWAVE: Wrong type argument: consp, nil

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 08:01:05 PDT 2025

Total time taken to generate the page: 1.92015 seconds