Public Member Functions | Protected Attributes

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>

Inheritance diagram for AdjointERKExport:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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.

Author:
Rien Quirynen

Definition at line 54 of file erk_adjoint_export.hpp.


Constructor & Destructor Documentation

BEGIN_NAMESPACE_ACADO AdjointERKExport::AdjointERKExport ( UserInteraction _userInteraction = 0,
const std::string &  _commonHeaderName = "" 
)

Default constructor.

Parameters:
[in]_userInteractionPointer to corresponding user interface.
[in]_commonHeaderNameName of common header file to be included.

Definition at line 45 of file erk_adjoint_export.cpp.

Copy constructor (deep copy).

Parameters:
[in]argRight-hand side object.

Definition at line 52 of file erk_adjoint_export.cpp.

Destructor.

Definition at line 58 of file erk_adjoint_export.cpp.


Member Function Documentation

Exports source code of the auto-generated integrator into the given directory.

Parameters:
[in]codeCode block containing the auto-generated integrator.
Returns:
SUCCESSFUL_RETURN

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.

Parameters:
[in]declarationsList of declarations.
Returns:
SUCCESSFUL_RETURN

Reimplemented from ExplicitRungeKuttaExport.

Reimplemented in ThreeSweepsERKExport.

Definition at line 241 of file erk_adjoint_export.cpp.

Assigns Differential Equation to be used by the integrator.

Parameters:
[in]rhsRight-hand side expression.
Returns:
SUCCESSFUL_RETURN

Reimplemented from ExplicitRungeKuttaExport.

Reimplemented in ThreeSweepsERKExport, and ForwardOverBackwardERKExport.

Definition at line 65 of file erk_adjoint_export.cpp.

Initializes export of a tailored integrator.

Returns:
SUCCESSFUL_RETURN

Reimplemented from ExplicitRungeKuttaExport.

Reimplemented in ThreeSweepsERKExport, and ForwardOverBackwardERKExport.

Definition at line 117 of file erk_adjoint_export.cpp.


Member Data Documentation

Variable containing intermediate results of a forward sweep of the RK integrator.

Definition at line 126 of file erk_adjoint_export.hpp.


The documentation for this class was generated from the following files:


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Sat Jun 8 2019 19:40:23