35 #ifndef ACADO_TOOLKIT_DIRK_EXPORT_HPP 36 #define ACADO_TOOLKIT_DIRK_EXPORT_HPP 68 const std::string& _commonHeaderName =
"" 131 bool DERIVATIVES =
false );
192 bool DERIVATIVES =
false );
289 const std::string &_commonHeaderName )
306 #endif // ACADO_TOOLKIT_DIRK_EXPORT_HPP virtual returnValue solveOutputSystem(ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &index3, const ExportIndex &tmp_index, const ExportVariable &Ah, bool DERIVATIVES=false)
DiagonallyImplicitRKExport * createDiagonallyImplicitRKExport(UserInteraction *_userInteraction, const std::string &_commonHeaderName)
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)
DiagonallyImplicitRKExport(UserInteraction *_userInteraction=0, const std::string &_commonHeaderName="")
virtual returnValue evaluateMatrix(ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &tmp_index, const ExportVariable &_rk_A, const ExportVariable &Ah, const ExportVariable &C, bool evaluateB, bool DERIVATIVES)
returnValue get(OptionsName name, int &value) const
Allows to pass back messages to the calling function.
Block< Derived > block(Index startRow, Index startCol, Index blockRows, Index blockCols)
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
virtual returnValue setup()
#define CLOSE_NAMESPACE_ACADO
DiagonallyImplicitRKExport & operator=(const DiagonallyImplicitRKExport &arg)
Defines a scalar-valued index variable to be used for exporting code.
virtual returnValue evaluateStatesImplicitSystem(ExportStatementBlock *block, const ExportVariable &Ah, const ExportVariable &C, const ExportIndex &stage, const ExportIndex &i, const ExportIndex &j)
virtual ~DiagonallyImplicitRKExport()
Expression jacobian(const Expression &arg1, const Expression &arg2)
virtual DMatrix formMatrix(const DMatrix &mass, const DMatrix &jacobian)
virtual returnValue solveInputSystem(ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &index3, const ExportIndex &tmp_index, const ExportVariable &Ah)
virtual returnValue solveImplicitSystem(ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &index3, const ExportIndex &tmp_index, const ExportVariable &Ah, const ExportVariable &C, const ExportVariable &det, bool DERIVATIVES=false)
Encapsulates all user interaction for setting options, logging data and plotting results.
virtual returnValue evaluateRhsImplicitSystem(ExportStatementBlock *block, const ExportIndex &stage)
#define BEGIN_NAMESPACE_ACADO
virtual returnValue prepareInputSystem(ExportStatementBlock &code)
Allows to export a tailored implicit Runge-Kutta integrator with forward sensitivity generation for f...
virtual returnValue prepareOutputSystem(ExportStatementBlock &code)
Allows to export code for a block of statements.
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 ACADOERROR(retval)
Defines a matrix-valued variable to be used for exporting code.
Allows to export a tailored diagonally implicit Runge-Kutta integrator for fast model predictive cont...