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

OSCAR::Integrator Class Reference

Integrator class is used to solve an ODE problem, i.e. More...

#include <Integrator.h>

Inheritance diagram for OSCAR::Integrator:

Inheritance graph
[legend]
List of all members.

Public Methods

 Integrator (unsigned int noVariables)
virtual ~Integrator ()
virtual VectorIntegrate (void(*pfun)(double, const Vector &, Vector &), double timeStep, double time, Vector &initial)=0

Protected Attributes

Vector results

Detailed Description

x' = f(t,x)


Constructor & Destructor Documentation

OSCAR::Integrator::Integrator unsigned int    noVariables
 

virtual OSCAR::Integrator::~Integrator   [virtual]
 


Member Function Documentation

virtual Vector& OSCAR::Integrator::Integrate void(*    pfun)(double, const Vector &, Vector &),
double    timeStep,
double    time,
Vector   initial
[pure virtual]
 

Call this method to integrate a system of equations.

pfun is a pointer to the function that describes the equations. The function must be in the form of ode(double t, Vector& x, Vector& xdot). x' = f(t,x)

Implemented in OSCAR::RungeKutta.


Member Data Documentation

Vector OSCAR::Integrator::results [protected]
 


The documentation for this class was generated from the following file:
RRG Homepage OSCAR Overview OSCAR Tutorials Simulations