37 #ifndef vtkRungeKutta45_h
38 #define vtkRungeKutta45_h
69 double& delT,
double maxError,
double& error)
71 double minStep = delT;
72 double maxStep = delT;
75 minStep, maxStep, maxError, error);
78 double t,
double& delT,
79 double maxError,
double& error)
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)
93 minStep, maxStep, maxError, error);
95 virtual int ComputeNextStep(
double* xprev,
double* dxprev,
double* xnext,
96 double t,
double& delT,
double& delTActual,
97 double minStep,
double maxStep,
98 double maxError,
double& error);
109 static double B[5][5];
113 double* NextDerivs[6];
115 int ComputeAStep(
double* xprev,
double* dxprev,
double* xnext,
double t,
116 double& delT,
double& error);
virtual int ComputeNextStep(double *xprev, double *xnext, double t, double &delT, double maxError, double &error)
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual int ComputeNextStep(double *xprev, double *xnext, double t, double &delT, double maxError, double &error)
a simple class to control print indentation
Integrate an initial value problem using 5th order Runge-Kutta method with adaptive stepsize control...
virtual int ComputeNextStep(double *xprev, double *dxprev, double *xnext, double t, double &delT, double maxError, double &error)
virtual void Initialize()
virtual int ComputeNextStep(double *xprev, double *xnext, double t, double &delT, double &delTActual, double minStep, double maxStep, double maxError, double &error)
#define VTKCOMMONMATH_EXPORT
Integrate a set of ordinary differential equations (initial value problem) in time.