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

vtkInitialValueProblemSolver Class Reference

Integrate a set of ordinary. More...

#include <vtkInitialValueProblemSolver.h>

Inheritance diagram for vtkInitialValueProblemSolver:

Inheritance graph
[legend]
Collaboration diagram for vtkInitialValueProblemSolver:

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)=0
virtual vtkInitialValueProblemSolver * MakeObject ()=0
virtual void SetFunctionSet (vtkFunctionSet *functionset)
virtual vtkFunctionSetGetFunctionSet ()

Static Public Methods

int IsTypeOf (const char *type)
vtkInitialValueProblemSolver * SafeDownCast (vtkObject *o)

Protected Methods

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

Protected Attributes

vtkFunctionSetFunctionSet
float * Vals
float * Derivs
int Initialized

Detailed Description

Integrate a set of ordinary.

Date:
2000/12/10 20:08:11
Revision:
1.3
differential equations (initial value problem) in time.

Given a vtkFunctionSet which returns dF_i(x_j, t)/dt given x_j and t, vtkInitialValueProblemSolver computes the value of F_i at t+deltat.

Warning:
vtkInitialValueProblemSolver and it's subclasses are not thread-safe. You should create a new integrator for each thread.
See also:
vtkRungeKutta2 vtkRungeKutta4


Member Function Documentation

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

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

Reimplemented in vtkRungeKutta2.

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

Reimplemented in vtkRungeKutta2.

int vtkInitialValueProblemSolver::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 vtkObject.

Reimplemented in vtkRungeKutta2.

virtual vtkInitialValueProblemSolver* vtkInitialValueProblemSolver::MakeObject   [pure virtual]
 

Create concrete instance of the object.

Implemented in vtkRungeKutta2.

virtual void vtkInitialValueProblemSolver::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 vtkObject.

Reimplemented in vtkRungeKutta4.

vtkInitialValueProblemSolver* vtkInitialValueProblemSolver::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 vtkObject.

Reimplemented in vtkRungeKutta2.

virtual void vtkInitialValueProblemSolver::SetFunctionSet vtkFunctionSet   functionset [virtual]
 

Set / get the dataset used for the implicit function evaluation.


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