35 #ifndef ACADO_TOOLKIT_IRK_FORWARD_EXPORT_HPP 36 #define ACADO_TOOLKIT_IRK_FORWARD_EXPORT_HPP 69 const std::string& _commonHeaderName =
"" 285 #endif // ACADO_TOOLKIT_IRK_FORWARD_EXPORT_HPP virtual returnValue setup()
returnValue getCRSIndex(uint output, ExportIndex row, ExportIndex col)
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)
Allows to export a tailored Runge-Kutta sensitivity propagation for fast model predictive control...
virtual returnValue prepareInputSystem(ExportStatementBlock &code)
Allows to pass back messages to the calling function.
virtual returnValue prepareOutputSystem(ExportStatementBlock &code)
Block< Derived > block(Index startRow, Index startCol, Index blockRows, Index blockCols)
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
virtual returnValue propagateOutputs(ExportStatementBlock *block, const ExportIndex &index, const ExportIndex &index0, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &index3, const ExportIndex &tmp_index1, const ExportIndex &tmp_index2, const ExportIndex &tmp_index3, const ExportIndex &tmp_index4, const ExportVariable &tmp_meas)
ForwardIRKExport(UserInteraction *_userInteraction=0, const std::string &_commonHeaderName="")
ForwardIRKExport & operator=(const ForwardIRKExport &arg)
#define CLOSE_NAMESPACE_ACADO
virtual returnValue getCode(ExportStatementBlock &code)
Defines a scalar-valued index variable to be used for exporting code.
Allows to export a tailored implicit Runge-Kutta integrator for fast model predictive control...
virtual returnValue getFunctionDeclarations(ExportStatementBlock &declarations) const
virtual ExportVariable getAuxVariable() const
virtual ~ForwardIRKExport()
Encapsulates all user interaction for setting options, logging data and plotting results.
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)
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)
#define BEGIN_NAMESPACE_ACADO
USING_NAMESPACE_ACADO void output(const char *name, const Expression &e)
Allows to export a tailored implicit Runge-Kutta integrator with forward sensitivity generation for f...
virtual returnValue sensitivitiesInputSystem(ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportVariable &Bh, bool STATES)
virtual returnValue getDataDeclarations(ExportStatementBlock &declarations, ExportStruct dataStruct=ACADO_ANY) const
Allows to export code for a block of statements.
Defines a matrix-valued variable to be used for exporting code.