31 #ifndef vtkInitialValueProblemSolver_h
32 #define vtkInitialValueProblemSolver_h
61 double& delT,
double maxError,
64 double minStep = delT;
65 double maxStep = delT;
67 return this->ComputeNextStep(xprev, 0, xnext, t, delT, delTActual,
68 minStep, maxStep, maxError, error);
71 double t,
double& delT,
double maxError,
74 double minStep = delT;
75 double maxStep = delT;
77 return this->ComputeNextStep(xprev, dxprev, xnext, t, delT, delTActual,
78 minStep, maxStep, maxError, error);
81 double t,
double& delT,
double& delTActual,
82 double minStep,
double maxStep,
83 double maxError,
double& error)
85 return this->ComputeNextStep(xprev, 0, xnext, t, delT, delTActual,
86 minStep, maxStep, maxError, error);
88 virtual int ComputeNextStep(
double* xprev,
double* dxprev,
double* xnext,
89 double t,
double& delT,
double& delTActual,
90 double minStep,
double maxStep,
91 double maxError,
double& error) = 0;
116 virtual void Initialize();
abstract base class for most VTK objects
virtual int ComputeNextStep(double *xprev, double *xnext, double t, double &delT, double maxError, double &error)
virtual int ComputeNextStep(double *xprev, double *xnext, double t, double &delT, double &delTActual, double minStep, double maxStep, double maxError, double &error)
vtkFunctionSet * FunctionSet
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
virtual int ComputeNextStep(double *xprev, double *dxprev, double *xnext, double t, double &delT, double maxError, double &error)
Abstract interface for sets of functions.
#define VTKCOMMONMATH_EXPORT
Integrate a set of ordinary differential equations (initial value problem) in time.