Allows to export a tailored explicit Runge-Kutta integrator with three-sweeps second order sensitivity propagation for fast model predictive control. More...
#include <erk_3sweep_export.hpp>
Public Member Functions | |
virtual returnValue | getCode (ExportStatementBlock &code) |
virtual returnValue | getDataDeclarations (ExportStatementBlock &declarations, ExportStruct dataStruct=ACADO_ANY) const |
virtual returnValue | setDifferentialEquation (const Expression &rhs) |
virtual returnValue | setup () |
ThreeSweepsERKExport (UserInteraction *_userInteraction=0, const std::string &_commonHeaderName="") | |
ThreeSweepsERKExport (const ThreeSweepsERKExport &arg) | |
virtual | ~ThreeSweepsERKExport () |
Protected Member Functions | |
ExportVariable | getAuxVariable () const |
Expression | returnLowerTriangular (const Expression &expr) |
Expression | symmetricDoubleProduct (const Expression &expr, const Expression &arg) |
Protected Attributes | |
ExportAcadoFunction | diffs_sweep3 |
ExportVariable | rk_backward_sweep |
Allows to export a tailored explicit Runge-Kutta integrator with three-sweeps second order sensitivity propagation for fast model predictive control.
The class ThreeSweepsERKExport allows to export a tailored explicit Runge-Kutta integrator with three-sweeps second order sensitivity propagation for fast model predictive control.
Definition at line 54 of file erk_3sweep_export.hpp.
BEGIN_NAMESPACE_ACADO ThreeSweepsERKExport::ThreeSweepsERKExport | ( | UserInteraction * | _userInteraction = 0 , |
const std::string & | _commonHeaderName = "" |
||
) |
Default constructor.
[in] | _userInteraction | Pointer to corresponding user interface. |
[in] | _commonHeaderName | Name of common header file to be included. |
Definition at line 45 of file erk_3sweep_export.cpp.
ThreeSweepsERKExport::ThreeSweepsERKExport | ( | const ThreeSweepsERKExport & | arg | ) |
Copy constructor (deep copy).
[in] | arg | Right-hand side object. |
Definition at line 52 of file erk_3sweep_export.cpp.
ThreeSweepsERKExport::~ThreeSweepsERKExport | ( | ) | [virtual] |
Destructor.
Definition at line 58 of file erk_3sweep_export.cpp.
ExportVariable ThreeSweepsERKExport::getAuxVariable | ( | ) | const [protected, virtual] |
Returns the largest global export variable.
Reimplemented from ExplicitRungeKuttaExport.
Definition at line 418 of file erk_3sweep_export.cpp.
returnValue ThreeSweepsERKExport::getCode | ( | ExportStatementBlock & | code | ) | [virtual] |
Exports source code of the auto-generated integrator into the given directory.
[in] | code | Code block containing the auto-generated integrator. |
Reimplemented from AdjointERKExport.
Definition at line 336 of file erk_3sweep_export.cpp.
returnValue ThreeSweepsERKExport::getDataDeclarations | ( | ExportStatementBlock & | declarations, |
ExportStruct | dataStruct = ACADO_ANY |
||
) | const [virtual] |
Adds all data declarations of the auto-generated integrator to given list of declarations.
[in] | declarations | List of declarations. |
Reimplemented from AdjointERKExport.
Definition at line 324 of file erk_3sweep_export.cpp.
Expression ThreeSweepsERKExport::returnLowerTriangular | ( | const Expression & | expr | ) | [protected] |
Definition at line 371 of file erk_3sweep_export.cpp.
returnValue ThreeSweepsERKExport::setDifferentialEquation | ( | const Expression & | rhs | ) | [virtual] |
Assigns Differential Equation to be used by the integrator.
[in] | rhs | Right-hand side expression. |
Reimplemented from AdjointERKExport.
Definition at line 65 of file erk_3sweep_export.cpp.
returnValue ThreeSweepsERKExport::setup | ( | ) | [virtual] |
Initializes export of a tailored integrator.
Reimplemented from AdjointERKExport.
Definition at line 176 of file erk_3sweep_export.cpp.
Expression ThreeSweepsERKExport::symmetricDoubleProduct | ( | const Expression & | expr, |
const Expression & | arg | ||
) | [protected] |
Definition at line 385 of file erk_3sweep_export.cpp.
Module to export ODE.
Definition at line 136 of file erk_3sweep_export.hpp.
Variable containing intermediate results of a backward sweep of the RK integrator.
Definition at line 137 of file erk_3sweep_export.hpp.