Public Member Functions | Protected Member Functions | Protected Attributes

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>

Inheritance diagram for ThreeSweepsERKExport:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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.

Author:
Rien Quirynen

Definition at line 54 of file erk_3sweep_export.hpp.


Constructor & Destructor Documentation

BEGIN_NAMESPACE_ACADO ThreeSweepsERKExport::ThreeSweepsERKExport ( 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_3sweep_export.cpp.

Copy constructor (deep copy).

Parameters:
[in]argRight-hand side object.

Definition at line 52 of file erk_3sweep_export.cpp.

Destructor.

Definition at line 58 of file erk_3sweep_export.cpp.


Member Function Documentation

ExportVariable ThreeSweepsERKExport::getAuxVariable ( ) const [protected, virtual]

Returns the largest global export variable.

Returns:
SUCCESSFUL_RETURN

Reimplemented from ExplicitRungeKuttaExport.

Definition at line 418 of file erk_3sweep_export.cpp.

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 AdjointERKExport.

Definition at line 336 of file erk_3sweep_export.cpp.

Adds all data declarations of the auto-generated integrator to given list of declarations.

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

Reimplemented from AdjointERKExport.

Definition at line 324 of file erk_3sweep_export.cpp.

Definition at line 371 of file erk_3sweep_export.cpp.

Assigns Differential Equation to be used by the integrator.

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

Reimplemented from AdjointERKExport.

Definition at line 65 of file erk_3sweep_export.cpp.

Initializes export of a tailored integrator.

Returns:
SUCCESSFUL_RETURN

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.


Member Data Documentation

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.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 12:01:40