Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

MODEL::IRungeKutta Class Template Reference

#include <integrator.h>

Inheritance diagram for MODEL::IRungeKutta:

Inheritance graph
[legend]
Collaboration diagram for MODEL::IRungeKutta:

Collaboration graph
[legend]
List of all members.

Public Methods

 IRungeKutta (vf &d, vf &s)
virtual vect& step (vect &current, time &dt)

Detailed Description

template<integer dims, typename nelem = number, class NT = NumericTraits<nelem,dims>> class MODEL::IRungeKutta

A fourth order Runge-Kutta Integrator. Very robust for deterministic problems. Even better would be a variable step size (but that defeats the problem...)

Definition at line 131 of file integrator.h.


Member Function Documentation

vect & step ( vect & current,
time & dt ) [inline, virtual]
 

Implement this one to take a step. takes the current point and modifies it. Returns a ref to the modified point

Parameters:
dt   is the step to take. This makes it possible to generate a adaptive stepsize if needed.

I wonder if the fact that an Integrator has a dt makes it a candidate for TickTock status?

Reimplemented from MODEL::Integrator.

Definition at line 137 of file integrator.h.


The documentation for this class was generated from the following file:
To get the sources or tarballs, please go to SourceForge or you can use the CVS repository.

More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be

Last update: June 2002.


Looking for Open Source? Check out SourceForge Logo !