32 #ifndef vtkInitialValueProblemSolver_h 33 #define vtkInitialValueProblemSolver_h 35 #include "vtkCommonMathModule.h" 69 double& delT,
double maxError,
72 double minStep = delT;
73 double maxStep = delT;
75 return this->ComputeNextStep(xprev,
nullptr, xnext, t, delT, delTActual,
76 minStep, maxStep, maxError, error);
79 double t,
double& delT,
double maxError,
82 double minStep = delT;
83 double maxStep = delT;
85 return this->ComputeNextStep(xprev, dxprev, xnext, t, delT, delTActual,
86 minStep, maxStep, maxError, error);
89 double t,
double& delT,
double& delTActual,
90 double minStep,
double maxStep,
91 double maxError,
double& error)
93 return this->ComputeNextStep(xprev,
nullptr, xnext, t, delT, delTActual,
94 minStep, maxStep, maxError, error);
96 virtual int ComputeNextStep(
double* xprev,
double* dxprev,
double* xnext,
97 double t,
double& delT,
double& delTActual,
98 double minStep,
double maxStep,
99 double maxError,
double& error) = 0;
127 virtual void Initialize();
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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...
virtual int ComputeNextStep(double *xprev, double *xnext, double t, double &delT, double &delTActual, double minStep, double maxStep, double maxError, double &error)
Given initial values, xprev , initial time, t and a requested time interval, delT calculate values of...
vtkFunctionSet * FunctionSet
a simple class to control print indentation
virtual int ComputeNextStep(double *xprev, double *dxprev, 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...
Abstract interface for sets of functions.
virtual vtkTypeBool IsAdaptive()
Returns 1 if the solver uses adaptive stepsize control, 0 otherwise.
Integrate a set of ordinary differential equations (initial value problem) in time.