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

Definition at line 63 of file vtkInitialValueProblemSolver.h.


Constructor & Destructor Documentation

vtkInitialValueProblemSolver::vtkInitialValueProblemSolver   [protected]
 

vtkInitialValueProblemSolver::~vtkInitialValueProblemSolver   [protected]
 

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

Definition at line 91 of file vtkInitialValueProblemSolver.h.


Member Function Documentation

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, and vtkRungeKutta4.

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, and vtkRungeKutta4.

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, and 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, and vtkRungeKutta4.

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.

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, and vtkRungeKutta4.

Definition at line 73 of file vtkInitialValueProblemSolver.h.

Referenced by vtkRungeKutta4::ComputeNextStep(), and vtkRungeKutta2::ComputeNextStep().

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

Reimplemented in vtkRungeKutta2, and vtkRungeKutta4.

virtual vtkInitialValueProblemSolver* vtkInitialValueProblemSolver::MakeObject   [pure virtual]
 

Create concrete instance of the object.

Reimplemented in vtkRungeKutta2, and vtkRungeKutta4.

virtual void vtkInitialValueProblemSolver::SetFunctionSet vtkFunctionSet   functionset [virtual]
 

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

virtual vtkFunctionSet* vtkInitialValueProblemSolver::GetFunctionSet   [virtual]
 

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

Definition at line 92 of file vtkInitialValueProblemSolver.h.

virtual void vtkInitialValueProblemSolver::Initialize   [protected, virtual]
 

Reimplemented in vtkRungeKutta4.


Member Data Documentation

vtkFunctionSet* vtkInitialValueProblemSolver::FunctionSet [protected]
 

Definition at line 96 of file vtkInitialValueProblemSolver.h.

float* vtkInitialValueProblemSolver::Vals [protected]
 

Definition at line 98 of file vtkInitialValueProblemSolver.h.

float* vtkInitialValueProblemSolver::Derivs [protected]
 

Definition at line 99 of file vtkInitialValueProblemSolver.h.

int vtkInitialValueProblemSolver::Initialized [protected]
 

Definition at line 100 of file vtkInitialValueProblemSolver.h.


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