35 #ifndef ACADO_TOOLKIT_INTEGRATOR_EXPORT_HPP 36 #define ACADO_TOOLKIT_INTEGRATOR_EXPORT_HPP 71 const std::string& _commonHeaderName =
"" 155 const std::string& _name_diffs_ODE );
302 const std::vector<Expression> rhs ) = 0;
315 const std::vector<std::string> _outputNames,
316 const std::vector<std::string> _diffs_outputNames,
317 const std::vector<uint> _dims_output ) = 0;
331 const std::vector<std::string> _outputNames,
332 const std::vector<std::string> _diffs_outputNames,
333 const std::vector<uint> _dims_output,
334 const std::vector<DMatrix> _outputDependencies ) = 0;
506 #endif // ACADO_TOOLKIT_INTEGRATOR_EXPORT_HPP ExportVariable rk_diffsPrev1
virtual returnValue setLinearOutput(const DMatrix &M3, const DMatrix &A3, const Expression &rhs)
uint getIntegrationInterval(double time)
virtual returnValue getCode(ExportStatementBlock &code)=0
virtual returnValue getNumSteps(DVector &_numSteps) const
std::shared_ptr< IntegratorExport > IntegratorExportPtr
Factory for creation of exported algorithms.
std::vector< Grid > outputGrids
Allows to export code of an ACADO function.
virtual returnValue updateImplicitSystem(ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &tmp_index)
ExportAcadoFunction diffs_rhs
virtual ~IntegratorExport()
std::vector< ExportAcadoFunction > outputs
ExportVariable rk_diffsPrev3
Allows to pass back messages to the calling function.
virtual returnValue setModel(const std::string &_name_ODE, const std::string &_name_diffs_ODE)
virtual returnValue setGrid(const Grid &_grid)
Block< Derived > block(Index startRow, Index startCol, Index blockRows, Index blockCols)
std::vector< DMatrix > outputDependencies
const std::string getNameOUTPUT(uint index) const
virtual returnValue propagateImplicitSystem(ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &_index3, const ExportIndex &tmp_index)
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
std::vector< ExportAcadoFunction > diffs_outputs
virtual ExportVariable getAuxVariable() const =0
ExportVariable rk_diffsPrev2
Allows to conveniently handle (one-dimensional) grids consisting of time points.
DMatrix expandOutputMatrix(const DMatrix &A3)
const std::string getNameDiffsOUTPUT(uint index) const
const std::string getNameOutputDiffs() const
virtual returnValue setNonlinearFeedback(const DMatrix &C, const Expression &feedb)
ExportAlgorithmFactory< IntegratorExport, ExportIntegratorType > IntegratorExportFactory
ExportVariable rk_diffsTemp2
#define CLOSE_NAMESPACE_ACADO
ExportVariable rk_diffsNew3
Data class for defining models and everything that is related, to be passed to the integrator...
const std::string getNameDiffsRHS() const
Defines a scalar-valued index variable to be used for exporting code.
virtual returnValue setNARXmodel(const uint delay, const DMatrix &parms)=0
virtual returnValue getFunctionDeclarations(ExportStatementBlock &declarations) const =0
IntegratorExport(UserInteraction *_userInteraction=0, const std::string &_commonHeaderName="")
Base class for all variables within the symbolic expressions family.
Allows to export automatically generated algorithms for fast model predictive control.
virtual returnValue getDataDeclarations(ExportStatementBlock &declarations, ExportStruct dataStruct=ACADO_ANY) const =0
ExportAcadoFunction diffs_rhs3
std::vector< Expression > outputExpressions
const std::string getNameOutputRHS() const
const std::string getNameRHS() const
virtual returnValue propagateOutputSystem(ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &index3, const ExportIndex &tmp_index)
virtual returnValue setLinearInput(const DMatrix &M1, const DMatrix &A1, const DMatrix &B1)
Encapsulates all user interaction for setting options, logging data and plotting results.
Allows to export code of an arbitrary function.
virtual returnValue propagateInputSystem(ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &index3, const ExportIndex &tmp_index)
virtual returnValue updateInputSystem(ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &tmp_index)
virtual returnValue copy(const IntegratorExport &arg)
std::vector< uint > num_outputs
uint getDimOUTPUT(uint index) const
Allows to export a tailored integrator for fast model predictive control.
ExportVariable rk_diffsNew2
virtual returnValue setModelData(const ModelData &data)
DifferentialStateDerivative dx
virtual returnValue getGrid(Grid &grid_) const
ExportAcadoFunction lin_input
virtual returnValue getOutputGrids(std::vector< Grid > &outputGrids_) const
#define BEGIN_NAMESPACE_ACADO
virtual const std::string getNameFullRHS() const
ExportVariable error_code
virtual returnValue setupOutput(const std::vector< Grid > outputGrids_, const std::vector< Expression > rhs)=0
IntegratorExport & operator=(const IntegratorExport &arg)
ExportVariable rk_diffsNew1
virtual returnValue setup()=0
virtual returnValue setDifferentialEquation(const Expression &rhs)=0
virtual returnValue clear()
Allows to export code for a block of statements.
virtual returnValue getOutputExpressions(std::vector< Expression > &outputExpressions_) const
virtual returnValue updateOutputSystem(ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &tmp_index)
virtual bool equidistantControlGrid() const
Defines a matrix-valued variable to be used for exporting code.