Allows to export a tailored explicit Runge-Kutta integrator with adjoint first order sensitivity propagation for fast model predictive control. More...
#include <erk_adjoint_export.hpp>
Public Member Functions | |
AdjointERKExport (UserInteraction *_userInteraction=0, const std::string &_commonHeaderName="") | |
AdjointERKExport (const AdjointERKExport &arg) | |
virtual returnValue | getCode (ExportStatementBlock &code) |
virtual returnValue | getDataDeclarations (ExportStatementBlock &declarations, ExportStruct dataStruct=ACADO_ANY) const |
virtual returnValue | setDifferentialEquation (const Expression &rhs) |
virtual returnValue | setup () |
virtual | ~AdjointERKExport () |
Protected Attributes | |
ExportVariable | rk_forward_sweep |
Allows to export a tailored explicit Runge-Kutta integrator with adjoint first order sensitivity propagation for fast model predictive control.
The class AdjointERKExport allows to export a tailored explicit Runge-Kutta integrator with adjoint first order sensitivity propagation for fast model predictive control.
Definition at line 54 of file erk_adjoint_export.hpp.
BEGIN_NAMESPACE_ACADO AdjointERKExport::AdjointERKExport | ( | 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_adjoint_export.cpp.
AdjointERKExport::AdjointERKExport | ( | const AdjointERKExport & | arg | ) |
Copy constructor (deep copy).
[in] | arg | Right-hand side object. |
Definition at line 52 of file erk_adjoint_export.cpp.
AdjointERKExport::~AdjointERKExport | ( | ) | [virtual] |
Destructor.
Definition at line 58 of file erk_adjoint_export.cpp.
returnValue AdjointERKExport::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 ExplicitRungeKuttaExport.
Reimplemented in ThreeSweepsERKExport.
Definition at line 253 of file erk_adjoint_export.cpp.
returnValue AdjointERKExport::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 ExplicitRungeKuttaExport.
Reimplemented in ThreeSweepsERKExport.
Definition at line 241 of file erk_adjoint_export.cpp.
returnValue AdjointERKExport::setDifferentialEquation | ( | const Expression & | rhs | ) | [virtual] |
Assigns Differential Equation to be used by the integrator.
[in] | rhs | Right-hand side expression. |
Reimplemented from ExplicitRungeKuttaExport.
Reimplemented in ThreeSweepsERKExport, and ForwardOverBackwardERKExport.
Definition at line 65 of file erk_adjoint_export.cpp.
returnValue AdjointERKExport::setup | ( | ) | [virtual] |
Initializes export of a tailored integrator.
Reimplemented from ExplicitRungeKuttaExport.
Reimplemented in ThreeSweepsERKExport, and ForwardOverBackwardERKExport.
Definition at line 117 of file erk_adjoint_export.cpp.
ExportVariable AdjointERKExport::rk_forward_sweep [protected] |
Variable containing intermediate results of a forward sweep of the RK integrator.
Definition at line 126 of file erk_adjoint_export.hpp.