POV-Ray : Newsgroups : povray.binaries.utilities : RK4-implementation in C++. See post in p.b.i. Server Time
31 Oct 2024 21:29:39 EDT (-0400)
  RK4-implementation in C++. See post in p.b.i. (Message 1 to 8 of 8)  
From: Simen Kvaal
Subject: RK4-implementation in C++. See post in p.b.i.
Date: 18 Sep 2000 03:14:21
Message: <39c5c0cd@news.povray.org>
Ken thinks this is the best place to post this. :)

Three files:
ode.h
ode.cpp
lorentz.cpp

Written in ANSI C++. Compiles on most systems, I think. (I compiled mine
with GCC.) Sorry for the Norwegian comments, but I have really no time right
now to change it. The code isn't that complicated either. (It was part of an
assignment, that's why it's in Norwegian.) Complain and I'll see what I can
do! :} Have fun.

Approximatedly,
Simen.

--
---------------------------------------------
Simen Kvaal

Student at the faculty of mathematics and
natural sciences, University of Oslo, Norway.
Webmaster for \hbar (Fysikkforeningen).

e-mail: sim### [at] studentmatnatuiono
web: http://www.uio.no/~simenkv/
---------------------------------------------


Post a reply to this message


Attachments:
Download 'lorentz.cpp.txt' (2 KB) Download 'ode.cpp.txt' (9 KB) Download 'ode.h.txt' (2 KB)

From: Chris Huff
Subject: Re: RK4-implementation in C++. See post in p.b.i.
Date: 18 Sep 2000 19:29:53
Message: <chrishuff-020464.18315418092000@news.povray.org>
In article <39c5c0cd@news.povray.org>, "Simen Kvaal" 
<sim### [at] remove_mestudentmatnatuiono> wrote:

> Ken thinks this is the best place to post this. :)

Actually, since they are C++ source files, povray.binaries.programming 
might have been a better place.


> Three files:
> ode.h
> ode.cpp
> lorentz.cpp

ode.h didn't make it, it got scrambled up.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Ken
Subject: Re: RK4-implementation in C++. See post in p.b.i.
Date: 18 Sep 2000 20:18:33
Message: <39C6B031.DD9DE096@pacbell.net>
Chris Huff wrote:
> 
> In article <39c5c0cd@news.povray.org>, "Simen Kvaal"
> <sim### [at] remove_mestudentmatnatuiono> wrote:
> 
> > Ken thinks this is the best place to post this. :)
> 
> Actually, since they are C++ source files, povray.binaries.programming
> might have been a better place.

I thought about it (really !) before giving that advice. The
purpose of the two programming groups is the discussion and
sharing of POV-Ray related source code. Since the source code
he posted is utility in nature and not specifically related
to programming POV-Ray I felt this group was more representitive
of the content he was posting. If I was wrong then sue me :)

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Chris Huff
Subject: Re: RK4-implementation in C++. See post in p.b.i.
Date: 19 Sep 2000 17:51:35
Message: <chrishuff-AFD089.16533819092000@news.povray.org>
In article <39C6B031.DD9DE096@pacbell.net>, lin### [at] povrayorg 
wrote:

> I thought about it (really !) before giving that advice. The
> purpose of the two programming groups is the discussion and
> sharing of POV-Ray related source code. Since the source code
> he posted is utility in nature and not specifically related
> to programming POV-Ray I felt this group was more representitive
> of the content he was posting. If I was wrong then sue me :)

My logic was that all programming attachments should go to 
binaries.programming, and that povray.binaries.utilities was better for 
compiled utilities. Sorting by type instead of purpose, in other words. 
It can be really difficult to figure out where to put stuff sometimes, 
but now that I think about it more, you are probably correct.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Simen Kvaal
Subject: Repost: ode.h, (Re: RK4-implementation in C++. See post in p.b.i.)
Date: 19 Sep 2000 18:00:07
Message: <39c7e1e7$1@news.povray.org>
For those who actually care...

> ode.h didn't make it, it got scrambled up.


Post a reply to this message


Attachments:
Download 'ode.h.txt' (2 KB)

From: Ken
Subject: Re: Repost: ode.h, (Re: RK4-implementation in C++. See post in p.b.i.)
Date: 19 Sep 2000 21:21:53
Message: <39C81083.5F20615D@pacbell.net>
Simen Kvaal wrote:
> 
> For those who actually care...

I would care more <sniff> if I owned a working compiler...

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Chris Huff
Subject: Re: Repost: ode.h, (Re: RK4-implementation in C++. See post in p.b.i.)
Date: 19 Sep 2000 21:58:58
Message: <chrishuff-2C1378.21010119092000@news.povray.org>
In article <39c7e1e7$1@news.povray.org>, "Simen Kvaal" 
<sim### [at] remove_mestudentmatnatuiono> wrote:

> For those who actually care...

It works, it compiled with no modification(thank you for not using 
system-specific functions!). Now I just have to figure out how to use 
it...maybe turn it into a OpenGL project.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Jérôme Berger
Subject: Re: Repost: ode.h, (Re: RK4-implementation in C++. See post in p.b.i.)
Date: 20 Sep 2000 05:35:26
Message: <39C88647.32504B83@enst.fr>
Ken wrote:
> 
> Simen Kvaal wrote:
> >
> > For those who actually care...
> 
> I would care more <sniff> if I owned a working compiler...
> 
	Try this: http://sources.redhat.com/cygwin/


-- 

* Doctor Jekyll had something * mailto:ber### [at] inamecom
* to Hyde...                  * http://www.enst.fr/~jberger
*******************************


Post a reply to this message

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