34 #ifndef ACADO_TOOLKIT_INTEGRATOR_RUNGE_KUTTA_HPP 35 #define ACADO_TOOLKIT_INTEGRATOR_RUNGE_KUTTA_HPP 223 virtual int getDim()
const;
492 #include <acado/integrator/integrator_runge_kutta.ipp> 495 #endif // ACADO_TOOLKIT_INTEGRATOR_RUNGE_KUTTA_HPP virtual int getNumberOfSteps() const
virtual void initializeButcherTableau()=0
void determineEtaHBackward(int number)
void constructAll(const IntegratorRK &arg)
virtual returnValue init(const DifferentialEquation &rhs_)
virtual returnValue getProtectedBackwardSensitivities(DVector &Dx_x0, DVector &Dx_p, DVector &Dx_u, DVector &Dx_w, int order) const
void initializeVariables()
virtual returnValue setProtectedForwardSeed(const DVector &xSeed, const DVector &pSeed, const DVector &uSeed, const DVector &wSeed, const int &order)
Provides a time grid consisting of vector-valued optimization variables at each grid point...
Allows to pass back messages to the calling function.
virtual double getStepSize() const
Allows to conveniently handle (one-dimensional) grids consisting of time points.
virtual returnValue getProtectedX(DVector *xEnd) const
#define CLOSE_NAMESPACE_ACADO
virtual returnValue stop()
virtual int getDim() const
virtual Integrator * clone() const =0
Abstract base class for all kinds of algorithms for integrating differential equations (ODEs or DAEs)...
virtual returnValue getProtectedForwardSensitivities(DMatrix *Dx, int order) const
static const DVector emptyConstVector
void determineEtaGForward(int number)
virtual returnValue evaluate(const DVector &x0, const DVector &xa, const DVector &p, const DVector &u, const DVector &w, const Grid &t_)
virtual returnValue unfreeze()
void determineEtaGForward2(int number)
virtual returnValue freezeAll()
void interpolate(int jj, double *e1, double *d1, double *e2, VariablesGrid &poly)
void logCurrentIntegratorStep(const DVector ¤tX=emptyConstVector)
virtual returnValue freezeMesh()
virtual IntegratorRK & operator=(const IntegratorRK &arg)
virtual returnValue setBackwardSeed2(const DVector &seed)
Allows to setup and evaluate transition functions based on SymbolicExpressions.
virtual int getNumberOfRejectedSteps() const
#define BEGIN_NAMESPACE_ACADO
virtual returnValue step(int number)
Abstract base class for all kinds of Runge-Kutta schemes for integrating ODEs.
returnValue setForwardSeed2(const DVector &xSeed, const DVector &pSeed, const DVector &uSeed, const DVector &wSeed)
void printIntermediateResults()
virtual returnValue evaluateSensitivities()
virtual returnValue setProtectedBackwardSeed(const DVector &seed, const int &order)
virtual returnValue setDxInitialization(double *dx0)
Allows to setup and evaluate differential equations (ODEs and DAEs) based on SymbolicExpressions.
void determineEtaHBackward2(int number)