Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File 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

Definition at line 60 of file vtkRungeKutta2.h.


Constructor & Destructor Documentation

vtkRungeKutta2::vtkRungeKutta2   [protected]
 

vtkRungeKutta2::~vtkRungeKutta2   [protected]
 

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

Definition at line 89 of file vtkRungeKutta2.h.


Member Function Documentation

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.

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 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.

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.

vtkRungeKutta2* vtkRungeKutta2::New   [static]
 

Construct a vtkRungeKutta2 with no initial FunctionSet.

Reimplemented from vtkObject.

Referenced by MakeObject().

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.

Definition at line 72 of file vtkRungeKutta2.h.

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

Reimplemented from vtkInitialValueProblemSolver.

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

Create concrete instance of this object.

Reimplemented from vtkInitialValueProblemSolver.

Definition at line 81 of file vtkRungeKutta2.h.

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

Definition at line 90 of file vtkRungeKutta2.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