38 #ifndef vtkRungeKutta45_h
39 #define vtkRungeKutta45_h
41 #include "vtkCommonMathModule.h"
79 double t,
double& delT,
80 double maxError,
double& error) VTK_OVERRIDE
82 double minStep = delT;
83 double maxStep = delT;
86 minStep, maxStep, maxError, error);
89 double t,
double& delT,
90 double maxError,
double& error) VTK_OVERRIDE
92 double minStep = delT;
93 double maxStep = delT;
96 minStep, maxStep, maxError, error);
99 double t,
double& delT,
double& delTActual,
100 double minStep,
double maxStep,
101 double maxError,
double& error) VTK_OVERRIDE
104 minStep, maxStep, maxError, error);
107 double t,
double& delT,
double& delTActual,
108 double minStep,
double maxStep,
109 double maxError,
double& error) VTK_OVERRIDE;
116 void Initialize() VTK_OVERRIDE;
120 static
double B[5][5];
124 double* NextDerivs[6];
126 int ComputeAStep(
double* xprev,
double* dxprev,
double* xnext,
double t,
127 double& delT,
double& delTActual,
double& error);
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...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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...
a simple class to control print indentation
Integrate an initial value problem using 5th order Runge-Kutta method with adaptive stepsize control...
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
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...
Integrate a set of ordinary differential equations (initial value problem) in time.
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...