Implements a scheme for evaluating discretized ODEs. More...
#include <integrator_discretized_ode.hpp>
Protected Member Functions | |
returnValue | performADbackwardStep (const int &number_) |
returnValue | performADbackwardStep2 (const int &number_) |
returnValue | performADforwardStep (const int &number_) |
returnValue | performADforwardStep2 (const int &number_) |
returnValue | performDiscreteStep (const int &number_) |
Protected Member Functions inherited from IntegratorRK12 | |
virtual void | initializeButcherTableau () |
Protected Member Functions inherited from IntegratorRK | |
void | allocateMemory () |
void | constructAll (const IntegratorRK &arg) |
void | deleteAll () |
double | determineEta45 () |
double | determineEta45 (int number) |
void | determineEtaGForward (int number) |
void | determineEtaGForward2 (int number) |
void | determineEtaHBackward (int number) |
void | determineEtaHBackward2 (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 | evaluateSensitivities () |
virtual int | getDim () const |
virtual returnValue | getProtectedBackwardSensitivities (DVector &Dx_x0, DVector &Dx_p, DVector &Dx_u, DVector &Dx_w, int order) const |
virtual returnValue | getProtectedForwardSensitivities (DMatrix *Dx, int order) const |
virtual returnValue | getProtectedX (DVector *xEnd) const |
void | initializeVariables () |
void | interpolate (int jj, double *e1, double *d1, double *e2, VariablesGrid &poly) |
void | logCurrentIntegratorStep (const DVector ¤tX=emptyConstVector) |
void | printIntermediateResults () |
virtual returnValue | setBackwardSeed2 (const DVector &seed) |
returnValue | setForwardSeed2 (const DVector &xSeed, const DVector &pSeed, const DVector &uSeed, const DVector &wSeed) |
virtual returnValue | setProtectedBackwardSeed (const DVector &seed, const int &order) |
virtual returnValue | setProtectedForwardSeed (const DVector &xSeed, const DVector &pSeed, const DVector &uSeed, const DVector &wSeed, const int &order) |
Protected Member Functions inherited from Integrator | |
virtual returnValue | diffTransitionBackward (DVector &DX, DVector &DP, DVector &DU, DVector &DW, int &order) |
virtual returnValue | diffTransitionForward (DVector &DX, const DVector &DP, const DVector &DU, const DVector &DW, const int &order) |
virtual returnValue | evaluateTransition (const double time, DVector &xd, const DVector &xa, const DVector &p, const DVector &u, const DVector &w) |
virtual int | getDimX () const |
void | initializeOptions () |
virtual returnValue | setupLogging () |
virtual returnValue | setupOptions () |
Friends | |
class | ShootingMethod |
Implements a scheme for evaluating discretized ODEs.
The class IntegratorDiscretizedODE implements a scheme for evaluating discretized ordinary differential equations (ODEs).
Definition at line 57 of file integrator_discretized_ode.hpp.
BEGIN_NAMESPACE_ACADO IntegratorDiscretizedODE::IntegratorDiscretizedODE | ( | ) |
Default constructor.
Definition at line 53 of file integrator_discretized_ode.cpp.
IntegratorDiscretizedODE::IntegratorDiscretizedODE | ( | const DifferentialEquation & | rhs_ | ) |
Default constructor.
Definition at line 58 of file integrator_discretized_ode.cpp.
IntegratorDiscretizedODE::IntegratorDiscretizedODE | ( | const IntegratorDiscretizedODE & | arg | ) |
Copy constructor (deep copy).
Definition at line 74 of file integrator_discretized_ode.cpp.
|
virtual |
Destructor.
Definition at line 81 of file integrator_discretized_ode.cpp.
|
virtual |
The (virtual) copy constructor
Reimplemented from IntegratorRK12.
Definition at line 96 of file integrator_discretized_ode.cpp.
|
virtual |
The initialization routine which takes the right-hand side of
the differential equation to be integrated.
rhs | the right-hand side of the ODE/DAE. |
Reimplemented from IntegratorRK12.
Definition at line 103 of file integrator_discretized_ode.cpp.
|
virtual |
Assignment operator (deep copy).
Definition at line 86 of file integrator_discretized_ode.cpp.
|
protected |
Definition at line 296 of file integrator_discretized_ode.cpp.
|
protected |
Definition at line 343 of file integrator_discretized_ode.cpp.
|
protected |
Definition at line 275 of file integrator_discretized_ode.cpp.
|
protected |
Definition at line 321 of file integrator_discretized_ode.cpp.
|
protected |
Definition at line 255 of file integrator_discretized_ode.cpp.
|
virtual |
Executes the next single step. This function can be used to
call the integrator step wise. Note that this function is e.g.
useful in real-time simulations where after each step a time
out limit has to be checked. This function will usually return
number | the step number |
Reimplemented from IntegratorRK12.
Definition at line 111 of file integrator_discretized_ode.cpp.
|
friend |
Definition at line 60 of file integrator_discretized_ode.hpp.
|
protected |
Definition at line 113 of file integrator_discretized_ode.hpp.