35 #ifndef vtkRungeKutta45_h 36 #define vtkRungeKutta45_h 38 #include "vtkCommonMathModule.h" 76 double t,
double& delT,
77 double maxError,
double& error) VTK_OVERRIDE
79 double minStep = delT;
80 double maxStep = delT;
83 minStep, maxStep, maxError, error);
86 double t,
double& delT,
87 double maxError,
double& error) VTK_OVERRIDE
89 double minStep = delT;
90 double maxStep = delT;
93 minStep, maxStep, maxError, error);
96 double t,
double& delT,
double& delTActual,
97 double minStep,
double maxStep,
98 double maxError,
double& error) VTK_OVERRIDE
101 minStep, maxStep, maxError, error);
104 double t,
double& delT,
double& delTActual,
105 double minStep,
double maxStep,
106 double maxError,
double& error) VTK_OVERRIDE;
117 static double B[5][5];
121 double* NextDerivs[6];
123 int ComputeAStep(
double* xprev,
double* dxprev,
double* xnext,
double t,
124 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...
virtual void Initialize()
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...