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

vtkRungeKutta4 Class Reference

Integrate an initial value problem using 4th. More...

#include <vtkRungeKutta4.h>

Inheritance diagram for vtkRungeKutta4:

Inheritance graph
[legend]
Collaboration diagram for vtkRungeKutta4:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual float ComputeNextStep (float *xprev, float *xnext, float t, float delT)
virtual float ComputeNextStep (float *xprev, float *dxprev, float *xnext, float t, float delT)
virtual vtkInitialValueProblemSolverMakeObject ()

Static Public Methods

int IsTypeOf (const char *type)
vtkRungeKutta4 * SafeDownCast (vtkObject *o)
vtkRungeKutta4 * New ()

Protected Methods

 vtkRungeKutta4 ()
 ~vtkRungeKutta4 ()
 vtkRungeKutta4 (const vtkRungeKutta4 &)
void operator= (const vtkRungeKutta4 &)
virtual void Initialize ()

Protected Attributes

float * NextDerivs [3]

Detailed Description

Integrate an initial value problem using 4th.

Date:
2000/12/10 20:08:17
Revision:
1.4
order Runge-Kutta method.

This is a concrete sub-class of vtkInitialValueProblemSolver. It uses a 4th order Runge-Kutta method to obtain the values of a set of functions at the next time step.

See also:
vtkInitialValueProblemSolver vtkRungeKutta2 vtkFunctionSet
Examples:
vtkRungeKutta4 (examples)

Definition at line 63 of file vtkRungeKutta4.h.


Constructor & Destructor Documentation

vtkRungeKutta4::vtkRungeKutta4   [protected]
 

vtkRungeKutta4::~vtkRungeKutta4   [protected]
 

vtkRungeKutta4::vtkRungeKutta4 const vtkRungeKutta4 &    [inline, protected]
 

Definition at line 94 of file vtkRungeKutta4.h.


Member Function Documentation

virtual const char* vtkRungeKutta4::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInitialValueProblemSolver.

int vtkRungeKutta4::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInitialValueProblemSolver.

virtual int vtkRungeKutta4::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInitialValueProblemSolver.

vtkRungeKutta4* vtkRungeKutta4::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInitialValueProblemSolver.

virtual void vtkRungeKutta4::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkInitialValueProblemSolver.

vtkRungeKutta4* vtkRungeKutta4::New   [static]
 

Construct a vtkRungeKutta4 with no initial FunctionSet.

Reimplemented from vtkObject.

Referenced by MakeObject().

virtual float vtkRungeKutta4::ComputeNextStep float *    xprev,
float *    xnext,
float    t,
float    delT
[inline, virtual]
 

Given initial values, xprev , initial time, t and time interval, delT calculate values of x at t+delT (xnext) It returns an estimated value for the error (not implemented yet) or -1 on failure (for example, if the integration moves out of a data set)

Reimplemented from vtkInitialValueProblemSolver.

Definition at line 76 of file vtkRungeKutta4.h.

virtual float vtkRungeKutta4::ComputeNextStep float *    xprev,
float *    dxprev,
float *    xnext,
float    t,
float    delT
[virtual]
 

Reimplemented from vtkInitialValueProblemSolver.

virtual vtkInitialValueProblemSolver* vtkRungeKutta4::MakeObject   [inline, virtual]
 

Create concrete instance of this object.

Reimplemented from vtkInitialValueProblemSolver.

Definition at line 85 of file vtkRungeKutta4.h.

void vtkRungeKutta4::operator= const vtkRungeKutta4 &    [inline, protected]
 

Definition at line 95 of file vtkRungeKutta4.h.

virtual void vtkRungeKutta4::Initialize   [protected, virtual]
 

Reimplemented from vtkInitialValueProblemSolver.


Member Data Documentation

float* vtkRungeKutta4::NextDerivs[3] [protected]
 

Definition at line 99 of file vtkRungeKutta4.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:59:54 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001