rk_sensitivities_export.hpp
Go to the documentation of this file.
1 /*
2  * This file is part of ACADO Toolkit.
3  *
4  * ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
5  * Copyright (C) 2008-2014 by Boris Houska, Hans Joachim Ferreau,
6  * Milan Vukov, Rien Quirynen, KU Leuven.
7  * Developed within the Optimization in Engineering Center (OPTEC)
8  * under supervision of Moritz Diehl. All rights reserved.
9  *
10  * ACADO Toolkit is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free Software Foundation; either
13  * version 3 of the License, or (at your option) any later version.
14  *
15  * ACADO Toolkit is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public
21  * License along with ACADO Toolkit; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23  *
24  */
25 
26 
27 
35 #ifndef ACADO_TOOLKIT_RK_SENSITIVITIES_EXPORT_HPP
36 #define ACADO_TOOLKIT_RK_SENSITIVITIES_EXPORT_HPP
37 
38 
39 
41 
42 
54 {
55  //
56  // PUBLIC MEMBER FUNCTIONS:
57  //
58 
59  public:
60 
61 
62 
63 
64  protected:
65 
66 
76  const ExportIndex& index1,
77  const ExportIndex& index2,
78  const ExportVariable& Bh,
79  bool STATES ) = 0;
80 
81 
94  const ExportIndex& index1,
95  const ExportIndex& index2,
96  const ExportIndex& index3,
97  const ExportIndex& tmp_index1,
98  const ExportIndex& tmp_index2,
99  const ExportVariable& Ah,
100  const ExportVariable& Bh,
101  const ExportVariable& det,
102  bool STATES,
103  uint number ) = 0;
104 
105 
117  const ExportIndex& index1,
118  const ExportIndex& index2,
119  const ExportIndex& index3,
120  const ExportIndex& index4,
121  const ExportIndex& tmp_index1,
122  const ExportIndex& tmp_index2,
123  const ExportVariable& Ah,
124  const ExportVariable& Bh,
125  bool STATES,
126  uint number ) = 0;
127 
128 
141  const ExportIndex& index0,
142  const ExportIndex& index1,
143  const ExportIndex& index2,
144  const ExportIndex& tmp_index1,
145  const ExportIndex& tmp_index2,
146  const ExportIndex& tmp_index3,
147  const ExportVariable& tmp_meas,
148  const ExportVariable& time_tmp,
149  bool STATES,
150  uint base ) = 0;
151 
152 
153  protected:
154 
155 };
156 
157 
159 
160 
161 #endif // ACADO_TOOLKIT_RK_SENSITIVITIES_EXPORT_HPP
162 
163 // end of file.
Allows to export a tailored Runge-Kutta sensitivity propagation for fast model predictive control...
Allows to pass back messages to the calling function.
Block< Derived > block(Index startRow, Index startCol, Index blockRows, Index blockCols)
Definition: BlockMethods.h:56
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
Definition: acado_types.hpp:42
#define CLOSE_NAMESPACE_ACADO
Defines a scalar-valued index variable to be used for exporting code.
virtual returnValue sensitivitiesOutputs(ExportStatementBlock *block, const ExportIndex &index0, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &tmp_index1, const ExportIndex &tmp_index2, const ExportIndex &tmp_index3, const ExportVariable &tmp_meas, const ExportVariable &time_tmp, bool STATES, uint base)=0
virtual returnValue sensitivitiesInputSystem(ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportVariable &Bh, bool STATES)=0
virtual returnValue sensitivitiesImplicitSystem(ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &index3, const ExportIndex &tmp_index1, const ExportIndex &tmp_index2, const ExportVariable &Ah, const ExportVariable &Bh, const ExportVariable &det, bool STATES, uint number)=0
#define BEGIN_NAMESPACE_ACADO
virtual returnValue sensitivitiesOutputSystem(ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &index3, const ExportIndex &index4, const ExportIndex &tmp_index1, const ExportIndex &tmp_index2, const ExportVariable &Ah, const ExportVariable &Bh, bool STATES, uint number)=0
Allows to export code for a block of statements.
Defines a matrix-valued variable to be used for exporting code.


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:35:03