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

vtkRungeKutta2 Class Reference

Integrate an initial value problem using 2nd. More...

#include <vtkRungeKutta2.h>

Inheritance diagram for vtkRungeKutta2:

Inheritance graph
[legend]
Collaboration diagram for vtkRungeKutta2:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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)
vtkRungeKutta2 * SafeDownCast (vtkObject *o)
vtkRungeKutta2 * New ()

Protected Methods

 vtkRungeKutta2 ()
 ~vtkRungeKutta2 ()
 vtkRungeKutta2 (const vtkRungeKutta2 &)
void operator= (const vtkRungeKutta2 &)

Detailed Description

Integrate an initial value problem using 2nd.

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 2nd order Runge-Kutta method to obtain the values of a set of functions at the next time step.

See also:
vtkInitialValueProblemSolver vtkRungeKutta4 vtkFunctionSet


Member Function Documentation

virtual float vtkRungeKutta2::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.

virtual const char* vtkRungeKutta2::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.

virtual int vtkRungeKutta2::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.

int vtkRungeKutta2::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 vtkInitialValueProblemSolver* vtkRungeKutta2::MakeObject   [inline, virtual]
 

Create concrete instance of this object.

Implements vtkInitialValueProblemSolver.

vtkRungeKutta2* vtkRungeKutta2::New   [static]
 

Construct a vtkRungeKutta2 with no initial FunctionSet.

Reimplemented from vtkObject.

vtkRungeKutta2* vtkRungeKutta2::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.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:32:44 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002