35 #ifndef vtkRungeKutta4_h 36 #define vtkRungeKutta4_h 38 #include "vtkCommonMathModule.h" 68 double t,
double& delT,
69 double maxError,
double& error)
override 71 double minStep = delT;
72 double maxStep = delT;
74 return this->
ComputeNextStep(xprev,
nullptr, xnext, t, delT, delTActual,
75 minStep, maxStep, maxError, error);
78 double t,
double& delT,
79 double maxError,
double& error)
override 81 double minStep = delT;
82 double maxStep = delT;
85 minStep, maxStep, maxError, error);
88 double t,
double& delT,
double& delTActual,
89 double minStep,
double maxStep,
90 double maxError,
double& error)
override 92 return this->
ComputeNextStep(xprev,
nullptr, xnext, t, delT, delTActual,
93 minStep, maxStep, maxError, error);
96 double t,
double& delT,
double& delTActual,
97 double minStep,
double maxStep,
98 double maxError,
double& error)
override;
107 double* NextDerivs[3];
int ComputeNextStep(double *xprev, double *xnext, double t, double &delT, double &delTActual, double minStep, double maxStep, double maxError, double &error) override
Given initial values, xprev , initial time, t and a requested time interval, delT calculate values of...
virtual int ComputeNextStep(double *xprev, double *xnext, double t, double &delT, double maxError, double &error)
Given initial values, xprev , initial time, t and a requested time interval, delT calculate values of...
int ComputeNextStep(double *xprev, double *dxprev, double *xnext, double t, double &delT, double maxError, double &error) override
Given initial values, xprev , initial time, t and a requested time interval, delT calculate values of...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Integrate an initial value problem using 4th order Runge-Kutta method.
int ComputeNextStep(double *xprev, double *xnext, double t, double &delT, double maxError, double &error) override
Given initial values, xprev , initial time, t and a requested time interval, delT calculate values of...
virtual void Initialize()
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Integrate a set of ordinary differential equations (initial value problem) in time.