POV-Ray : Newsgroups : povray.binaries.images : Euler vs Runge-Kutta4 - euler_vs_rungekutta4.jpg [1/1] Server Time
14 Nov 2024 08:22:52 EST (-0500)
  Euler vs Runge-Kutta4 - euler_vs_rungekutta4.jpg [1/1] (Message 1 to 3 of 3)  
From: Lutz-Peter Hooge
Subject: Euler vs Runge-Kutta4 - euler_vs_rungekutta4.jpg [1/1]
Date: 1 Mar 2004 22:26:26
Message: <4043fee2@news.povray.org>
Just a demonstration for euler vs runge-kutta integration (see thread
"But *how* to do the constant energy solution for particle physics?"
in povray.general).

This shows some orbits for one particle at a time (no interaction
between them). The blue orbits are calculated by 4th order Runge-Kutta,
while the red ones are calculated with Euler.
The time steps for euler are 4 times smaller to make the comparison fair,
since RK4 needs about 3 times more computations per time step.

Lutz-Peter


Post a reply to this message


Attachments:
Download 'euler_vs_rungekutta4.jpg' (34 KB)

Preview of image 'euler_vs_rungekutta4.jpg'
euler_vs_rungekutta4.jpg


 

From: Rafal 'Raf256' Maj
Subject: Re: Euler vs Runge-Kutta4 - euler_vs_rungekutta4.jpg [1/1]
Date: 2 Mar 2004 01:17:53
Message: <Xns94A04A292F7A2raf256com@203.29.75.35>
lpv### [at] gmxde news:4043fee2@news.povray.org

> Just a demonstration for euler vs runge-kutta integration (see thread
> "But *how* to do the constant energy solution for particle physics?"
> in povray.general).

Is source available, was it written in C, or pure pov SDL?


-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

From: Lutz-Peter Hooge
Subject: Re: Euler vs Runge-Kutta4 - euler_vs_rungekutta4.jpg [1/1]
Date: 2 Mar 2004 07:28:01
Message: <40447dd1$1@news.povray.org>
Rafal 'Raf256' Maj <spa### [at] raf256com> wrote:

> Is source available, was it written in C, or pure pov SDL?

SDL. 
-> http://lutz-peter.hoogi.de/extern/euler_vs_rungekutta4.pov

Lutz-Peter


Post a reply to this message

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