ACADO Toolkit
1.2.0beta
Toolkit for Automatic Control and Dynamic Optimization
|
Allows to export a tailored diagonally implicit 5-stage Runge-Kutta method of order 5 for fast model predictive control. More...
#include <dirk5_export.hpp>
Public Member Functions | |
virtual returnValue | solveInputSystem (ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &index3, const ExportIndex &tmp_index, const ExportVariable &Ah) |
Exports the code needed to solve the system of collocation equations for the linear input system. | |
virtual returnValue | prepareInputSystem (ExportStatementBlock &code) |
Precompute as much as possible for the linear input system and export the resulting definitions. | |
virtual returnValue | solveOutputSystem (ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &index3, const ExportIndex &tmp_index, const ExportVariable &Ah, BooleanType DERIVATIVES=BT_FALSE) |
Exports the code needed to solve the system of collocation equations for the linear output system. | |
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, BooleanType STATES, uint number) |
Exports the code needed to compute the sensitivities of the states, defined by the linear output system. | |
virtual returnValue | prepareOutputSystem (ExportStatementBlock &code) |
Precompute as much as possible for the linear output system and export the resulting definitions. | |
virtual Matrix | formMatrix (const Matrix &mass, const Matrix &jacobian) |
Forms a constant linear system matrix for the collocation equations, given a constant jacobian and mass matrix. | |
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, BooleanType DERIVATIVES=BT_FALSE) |
Exports the code needed to solve the system of collocation equations for the nonlinear, fully implicit system. | |
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, BooleanType STATES, uint number) |
Exports the code needed to compute the sensitivities of the states defined by the nonlinear, fully implicit system. | |
virtual returnValue | evaluateMatrix (ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &tmp_index, const ExportVariable &Ah, const ExportVariable &C, BooleanType evaluateB, BooleanType DERIVATIVES) |
Exports the evaluation of the matrix of the linear system. | |
virtual returnValue | evaluateStatesImplicitSystem (ExportStatementBlock *block, const ExportVariable &Ah, const ExportVariable &C, const ExportIndex &stage, const ExportIndex &i, const ExportIndex &j) |
Exports the evaluation of the states at a specific stage. | |
virtual returnValue | evaluateRhsImplicitSystem (ExportStatementBlock *block, const ExportIndex &stage) |
Exports the evaluation of the right-hand side of the linear system at a specific stage. | |
virtual returnValue | setup () |
Initializes export of a tailored integrator. | |
virtual returnValue | getDataDeclarations (ExportStatementBlock &declarations, ExportStruct dataStruct=ACADO_ANY) const |
Adds all data declarations of the auto-generated integrator to given list of declarations. | |
virtual returnValue | getFunctionDeclarations (ExportStatementBlock &declarations) const |
Adds all function (forward) declarations of the auto-generated integrator to given list of declarations. | |
virtual returnValue | getCode (ExportStatementBlock &code) |
Exports source code of the auto-generated integrator into the given directory. | |
virtual returnValue | setDifferentialEquation (const Expression &rhs) |
Assigns Differential Equation to be used by the integrator. | |
returnValue | setModel (const String &_rhs, const String &_diffs_rhs) |
Assigns the model to be used by the integrator. | |
virtual returnValue | setupOutput (const std::vector< Grid > outputGrids_, const std::vector< Expression > rhs) |
Sets up the output with the grids for the different output functions. | |
virtual returnValue | setupOutput (const std::vector< Grid > outputGrids_, const std::vector< String > _outputNames, const std::vector< String > _diffs_outputNames, const std::vector< uint > _dims_output) |
Sets up the output with the grids for the different output functions. | |
virtual returnValue | setupOutput (const std::vector< Grid > outputGrids_, const std::vector< String > _outputNames, const std::vector< String > _diffs_outputNames, const std::vector< uint > _dims_output, const std::vector< Matrix > _outputDependencies) |
Sets up the output with the grids for the different output functions. | |
returnValue | initializeButcherTableau (const Matrix &_AA, const Vector &_bb, const Vector &_cc) |
This routine initializes the matrices AA, bb and cc which form the Butcher Tableau. | |
returnValue | setNARXmodel (const uint delay, const Matrix &parms) |
Sets a polynomial NARX model to be used by the integrator. | |
uint | getNumStages () |
This routine returns the number of stages of the Runge-Kutta integrator that will be exported. | |
virtual returnValue | setLinearInput (const Matrix &M1, const Matrix &A1, const Matrix &B1) |
| |
virtual returnValue | setLinearOutput (const Matrix &M3, const Matrix &A3, const Expression &rhs) |
| |
virtual returnValue | setLinearOutput (const Matrix &M3, const Matrix &A3, const String &_rhs3, const String &_diffs_rhs3) |
| |
virtual returnValue | setModelData (const ModelData &data) |
Passes all the necessary model data to the integrator. | |
virtual returnValue | updateInputSystem (ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &tmp_index) |
Exports the code needed to update the sensitivities of the states, defined by the linear input system. | |
virtual returnValue | propagateInputSystem (ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &index3, const ExportIndex &tmp_index) |
Exports the code needed to propagate the sensitivities of the states, defined by the linear input system. | |
virtual returnValue | updateImplicitSystem (ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &tmp_index) |
Exports the code needed to update the sensitivities of the states defined by the nonlinear, fully implicit system. | |
virtual returnValue | propagateImplicitSystem (ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &index3, const ExportIndex &tmp_index) |
Exports the code needed to propagate the sensitivities of the states defined by the nonlinear, fully implicit system. | |
virtual returnValue | updateOutputSystem (ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &tmp_index) |
Exports the code needed to update the sensitivities of the states, defined by the linear output system. | |
virtual returnValue | propagateOutputSystem (ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportIndex &index3, const ExportIndex &tmp_index) |
Exports the code needed to propagate the sensitivities of the states, defined by the linear output system. | |
virtual returnValue | setGrid (const Grid &_grid) |
Sets integration grid (this grid is expected to be non equidistant, otherwise use the other setGrid function). | |
virtual returnValue | getGrid (Grid &grid_) const |
Returns the grid of the integrator. | |
virtual returnValue | getNumSteps (Vector &_numSteps) const |
Returns the number of integration steps along the prediction horizon. | |
virtual returnValue | getOutputExpressions (std::vector< Expression > &outputExpressions_) const |
Returns the output expressions. | |
virtual returnValue | getOutputGrids (std::vector< Grid > &outputGrids_) const |
Returns the output grids. | |
virtual BooleanType | equidistantControlGrid () const |
Returns whether the grid is equidistant. | |
const String | getNameRHS () const |
const String | getNameDiffsRHS () const |
virtual const String | getNameFullRHS () const |
const String | getNameOutputRHS () const |
const String | getNameOutputDiffs () const |
const String | getNameOUTPUT (uint index) const |
const String | getNameDiffsOUTPUT (uint index) const |
uint | getDimOUTPUT (uint index) const |
returnValue | setDimensions (uint _NX=0, uint _NU=0, uint _NP=0, uint _NI=0) |
Sets the variables dimensions (ODE). | |
returnValue | setDimensions (uint _NX, uint _NDX, uint _NXA, uint _NU, uint _NP, uint _NI) |
Sets the variables dimensions (DAE). | |
uint | getNX () const |
Returns number of differential states. | |
uint | getNXA () const |
Returns number of algebraic states. | |
uint | getNDX () const |
Returns the number of differential states derivatives. | |
uint | getNU () const |
Returns number of control inputs. | |
uint | getNP () const |
Returns number of parameters. | |
uint | getN () const |
Returns number of control intervals. | |
void | setNY (uint NY_) |
uint | getNY () const |
void | setNYN (uint NYN_) |
uint | getNYN () const |
FILE * | openFile (const String &dirName, const String &fileName) const |
Opens given file and prepares it for exporting algorithm. | |
returnValue | addOptionsList () |
Adds an additional OptionsList to internal array. | |
returnValue | set (OptionsName name, int value) |
Sets value of an existing option item of integer type to a given value. | |
returnValue | set (OptionsName name, double value) |
Sets value of an existing option item of double type to a given value. | |
returnValue | set (uint idx, OptionsName name, int value) |
Sets value of an existing option item of integer type within the option list of given index to a given value. | |
returnValue | set (uint idx, OptionsName name, double value) |
Sets value of an existing option item of double type within the option list of given index to a given value. | |
returnValue | setOptions (const Options &arg) |
Assigns a given Options object to this object. | |
returnValue | setOptions (uint idx, const Options &arg) |
Assigns the option list with given index of a given Options object to option list with given index of this object. | |
Options | getOptions (uint idx) const |
Returns an Options object containing exactly the option list with given index. | |
returnValue | getAll (LogName _name, MatrixVariablesGrid &values) const |
Gets all numerical values at all time instants of the item with given name. | |
returnValue | getFirst (LogName _name, Matrix &firstValue) const |
Gets numerical value at first time instant of the item with given name. | |
returnValue | getFirst (LogName _name, VariablesGrid &firstValue) const |
Gets numerical value at first time instant of the item with given name (converts internally used Matrix into VariablesGrid). | |
returnValue | getLast (LogName _name, Matrix &lastValue) const |
Gets numerical value at last time instant of the item with given name. | |
returnValue | getLast (LogName _name, VariablesGrid &lastValue) const |
Gets numerical value at last time instant of the item with given name (converts internally used Matrix into VariablesGrid). | |
returnValue | get (OptionsName name, int &value) const |
Returns value of an existing option item of integer type. | |
returnValue | get (OptionsName name, double &value) const |
Returns value of an existing option item of double type. | |
returnValue | get (uint idx, OptionsName name, int &value) const |
Returns value of an existing option item of integer type within the option list of given index. | |
returnValue | get (uint idx, OptionsName name, double &value) const |
Returns value of an existing option item of double type within the option list of given index. | |
returnValue | addOption (OptionsName name, int value) |
Add an option item with a given integer default value to the all option lists. | |
returnValue | addOption (OptionsName name, double value) |
Add an option item with a given double default value to the all option lists. | |
returnValue | addOption (uint idx, OptionsName name, int value) |
Add an option item with a given integer default value to option list with given index. | |
returnValue | addOption (uint idx, OptionsName name, double value) |
Add an option item with a given double default value to option list with given index. | |
BooleanType | haveOptionsChanged () const |
Determines whether options of at least one option list have been modified. | |
BooleanType | haveOptionsChanged (uint idx) const |
Determines whether options of option list with given index have been modified. | |
returnValue | setAll (LogName _name, const MatrixVariablesGrid &values) |
Sets all numerical values at all time instants of all items with given name within all records. | |
returnValue | setLast (LogName _name, int lastValue, double time=-INFTY) |
Sets numerical value at last time instant of all items with given name within all records. | |
returnValue | setLast (LogName _name, double lastValue, double time=-INFTY) |
Sets numerical value at last time instant of all items with given name within all records. | |
returnValue | setLast (LogName _name, const Vector &lastValue, double time=-INFTY) |
Sets numerical value at last time instant of all items with given name within all records. | |
returnValue | setLast (LogName _name, const Matrix &lastValue, double time=-INFTY) |
Sets numerical value at last time instant of all items with given name within all records. | |
returnValue | setLast (LogName _name, const VariablesGrid &lastValue, double time=-INFTY) |
Sets numerical value at last time instant of all items with given name within all records. | |
int | addLogRecord (LogRecord &_record) |
Adds a record to the log collection. | |
returnValue | printLogRecord (int idx, LogPrintMode _mode=PRINT_ITEM_BY_ITEM) const |
Prints whole record with specified index into internally specified file; all items are printed according to the output format settings. | |
returnValue | plot (PlotFrequency _frequency=PLOT_IN_ANY_CASE) |
Plots all windows of the plot collection, each one into a new figure. | |
returnValue | replot (PlotFrequency _frequency=PLOT_IN_ANY_CASE) |
Plots all windows of the plot collection, each one into the corresponding existing figure, if possible. | |
Protected Member Functions | |
returnValue | getCRSIndex (uint output, ExportIndex row, ExportIndex col) |
Returns the index corresponding Compressed Row Storage (CRS) for the dependency matrix of a specific output function. | |
virtual returnValue | sensitivitiesInputSystem (ExportStatementBlock *block, const ExportIndex &index1, const ExportIndex &index2, const ExportVariable &Bh, BooleanType STATES) |
Exports the code needed to compute the sensitivities of the states, defined by the linear input system. | |
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, BooleanType STATES, uint base) |
Exports the computation of the sensitivities for the continuous output. | |
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) |
Exports the propagation of the sensitivities for the continuous output. | |
ExportVariable | getAuxVariable () const |
Returns the largest global export variable. | |
returnValue | initializeDDMatrix () |
Initializes the matrix DD, which is used to extrapolate the variables of the IRK method to the next step. | |
returnValue | initializeCoefficients () |
Initializes the matrix coeffs, containing coefficients of polynomials that are used to evaluate the continuous output (see evaluatePolynomial). | |
Vector | computeCombinations (const Vector &cVec, uint index, uint numEls) |
Recursive function that helps with the computation of the coefficients of polynomials that are used to evaluate the continuous output (see initializeCoefficients), by computing the correct combinations of elements of the vector cc from the Butcher table. | |
Vector | evaluatePolynomial (double time) |
Returns the coefficients of the polynomial, representing the continuous output of the integrator. | |
returnValue | evaluatePolynomial (ExportStatementBlock &block, const ExportVariable &variable, const ExportVariable &grid, const String &h) |
Exports the evaluation of the coefficients of the polynomial, representing the continuous output of the integrator. | |
Matrix | evaluatePolynomial (uint index) |
Returns the coefficients of the polynomial for the complete grid of the output, corresponding a certain index. | |
Vector | evaluateDerivedPolynomial (double time) |
Returns the coefficients of the derived polynomial, representing the derivative of the continuous output with respect to time. | |
returnValue | evaluateDerivedPolynomial (ExportStatementBlock &block, const ExportVariable &variable, const ExportVariable &grid) |
Exports the evaluation of the coefficients of the derived polynomial, representing the derivative of the continuous output with respect to time. | |
Matrix | evaluateDerivedPolynomial (uint index) |
Returns the coefficients of the derived polynomial for the complete grid of the output, corresponding a certain index. | |
Vector | divideMeasurements (uint index) |
Divide the total number of measurements over the different integration steps. | |
returnValue | evaluateStatesOutputSystem (ExportStatementBlock *block, const ExportVariable &Ah, const ExportIndex &stage) |
Exports the evaluation of the states at a specific stage. | |
returnValue | prepareOutputEvaluation (ExportStatementBlock &code) |
Prepares the structures to evaluate the continuous output and exports the resulting definitions. | |
returnValue | prepareFullRhs () |
Prepares a function that evaluates the complete right-hand side. | |
returnValue | generateOutput (ExportStatementBlock *block, const ExportIndex &index0, const ExportIndex &index1, const ExportIndex &tmp_index1, const ExportIndex &tmp_index2, const ExportVariable &tmp_meas, const ExportVariable &time_tmp, const uint directions) |
Exports the necessary code for the computation of the continuous output. | |
virtual returnValue | copy (const ImplicitRungeKuttaExport &arg) |
Copies all class members from given object. | |
virtual returnValue | copy (const RungeKuttaExport &arg) |
Copies all class members from given object. | |
virtual returnValue | copy (const IntegratorExport &arg) |
Copies all class members from given object. | |
returnValue | copy (const ExportAlgorithm &arg) |
Copies all class members from given object. | |
uint | getNumIts () const |
Returns the performed number of Newton iterations. | |
uint | getNumItsInit () const |
Returns the performed number of Newton iterations for the initialization of the first step. | |
Matrix | expandOutputMatrix (const Matrix &A3) |
| |
virtual returnValue | clear () |
Frees internal dynamic memory to yield an empty function. | |
uint | getIntegrationInterval (double time) |
Get the index of the integration interval, corresponding a certain time. | |
Protected Attributes | |
BooleanType | REUSE |
This boolean is true when the IFTR method is used instead of the IFT method. | |
BooleanType | CONTINUOUS_OUTPUT |
This boolean is true when continuous output needs to be provided. | |
uint | numIts |
This is the performed number of Newton iterations. | |
uint | numItsInit |
This is the performed number of Newton iterations for the initialization of the first step. | |
uint | NDX2 |
uint | NVARS2 |
uint | NVARS3 |
ExportLinearSolver * | solver |
This is the exported linear solver that is used by the implicit Runge-Kutta method. | |
Matrix | DD |
This matrix is used for the initialization of the variables for the next integration step. | |
Matrix | coeffs |
This matrix contains coefficients of polynomials that are used to evaluate the continuous output (see evaluatePolynomial). | |
Vector | numDX_output |
Vector | numXA_output |
Vector | numVARS_output |
ExportVariable | rk_rhsOutputTemp |
Variable containing intermediate results of evaluations of the right-hand side expression of an output function. | |
ExportVariable | rk_diffsOutputTemp |
Variable containing intermediate results of evaluations of the derivatives of an output function. | |
ExportVariable | rk_outH |
Variable that is used for the evaluations of the continuous output. | |
ExportVariable | rk_out |
Variable that is used for the evaluations of the continuous output. | |
ExportVariable | polynEvalVar |
Local variable that is used for the evaluations of the continuous output. | |
ExportVariable | stepsH |
Variable defining the different integration step sizes in case of a non equidistant grid. | |
std::vector< ExportVariable > | gridVariables |
This vector contains an ExportVariable for the grid of each continuous output. | |
std::vector< uint > | totalMeas |
This vector contains the total number of measurements per output (per shooting or integration interval, depending on grid type). | |
std::vector< ExportVariable > | rk_outputs |
Variables containing the evaluations of the continuous output from the integrator. | |
std::vector< ExportVariable > | polynVariables |
Variables containing the coefficients for the polynomial. | |
std::vector< ExportVariable > | polynDerVariables |
Variables containing the coefficients for the derived polynomial. | |
std::vector< ExportVariable > | numMeasVariables |
Variables containing the number of measurements per integration interval. | |
std::vector< ExportIndex > | numMeas |
Indices containing the number of measurements that are already computed. | |
ExportVariable | rk_mat1 |
ExportVariable | rk_dk1 |
ExportVariable | rk_A |
Variable containing the matrix of the linear system. | |
ExportVariable | rk_b |
Variable containing the right-hand side of the linear system. | |
ExportVariable | rk_auxSolver |
Variable containing auxiliary values for the exported linear solver. | |
ExportVariable | rk_rhsTemp |
Variable containing intermediate results of evaluations of the right-hand side expression. | |
ExportAcadoFunction | lin_output |
ExportVariable | rk_mat3 |
ExportVariable | rk_dk3 |
ExportVariable | rk_diffsTemp3 |
ExportVariable | rk_diffK |
ExportVariable | debug_mat |
ExportVariable | rk_kkk |
Variable containing intermediate results of the RK integrator. | |
Matrix | AA |
This matrix defines the Runge-Kutta method to be exported. | |
Vector | bb |
Vector | cc |
These vectors define the Runge-Kutta method to be exported. | |
uint | numStages |
This is the number of stages for the Runge-Kutta method. | |
uint | NX1 |
uint | NX2 |
uint | NX3 |
uint | NDX3 |
uint | NXA3 |
uint | diffsDim |
This is the total number of sensitivities needed. | |
uint | inputDim |
This is the dimension of the input to the integrator. | |
BooleanType | timeDependant |
Matrix | M11 |
Matrix | A11 |
Matrix | B11 |
Matrix | A33 |
Matrix | M33 |
BooleanType | exportRhs |
True if the right-hand side and their derivatives should be exported too. | |
BooleanType | crsFormat |
True if the CRS format is used for the jacobian of output functions. | |
String | name_rhs |
The name of the function evaluating the ODE right-hand side, if provided. | |
String | name_diffs_rhs |
The name of the function evaluating the derivatives of the ODE right-hand side, if provided. | |
String | name_rhs3 |
The name of the nonlinear function in the linear output system, if provided. | |
String | name_diffs_rhs3 |
The name of the function evaluating the derivatives for the linear output system, if provided. | |
Grid | grid |
Evaluation grid along the prediction horizon. | |
Vector | numSteps |
The number of integration steps per shooting interval. | |
ExportFunction | fullRhs |
Function that evaluates the full right-hand side. | |
ExportVariable | rhs_in |
ExportVariable | rhs_out |
ExportFunction | integrate |
Function that integrates the exported ODE. | |
ExportAcadoFunction | rhs |
Module to export ODE. | |
ExportAcadoFunction | diffs_rhs |
Module to export the evaluation of the derivatives of the ordinary differential equations. | |
ExportAcadoFunction | lin_input |
ExportAcadoFunction | rhs3 |
ExportAcadoFunction | diffs_rhs3 |
ExportVariable | error_code |
Variable containing the error code, returned by the integrator. | |
ExportVariable | reset_int |
Variable containing the number of the current integration step. | |
ExportVariable | rk_index |
Variable containing the number of the current shooting interval. | |
ExportVariable | rk_ttt |
Variable containing the integration time. | |
ExportVariable | rk_xxx |
Variable containing the current integrator state. | |
ExportVariable | rk_eta |
Variable containing the inputs or the results of the integrator. | |
ExportVariable | rk_diffsPrev1 |
ExportVariable | rk_diffsNew1 |
ExportVariable | rk_diffsPrev2 |
Variable containing the sensitivities from the previous integration step. | |
ExportVariable | rk_diffsNew2 |
Variable containing the derivatives wrt the previous values. | |
ExportVariable | rk_diffsTemp2 |
Variable containing intermediate results of evaluations of the derivatives of the differential equations (ordinary and algebraic). | |
ExportVariable | rk_diffsNew3 |
ExportVariable | rk_diffsPrev3 |
DifferentialState | x |
The differential states in the model. | |
DifferentialStateDerivative | dx |
The differential state derivatives in the model. | |
AlgebraicState | z |
The algebraic states in the model. | |
Control | u |
The control inputs in the model. | |
Parameter | p |
The parameters in the model. | |
std::vector< Grid > | outputGrids |
A separate grid for each output. | |
std::vector< Expression > | outputExpressions |
A separate expression for each output. | |
std::vector< Matrix > | outputDependencies |
A separate dependency matrix for each output. | |
std::vector< ExportAcadoFunction > | outputs |
Module to export output functions. | |
std::vector< ExportAcadoFunction > | diffs_outputs |
Module to export the evaluation of the derivatives of the output functions. | |
std::vector< String > | name_outputs |
A separate function name for each output. | |
std::vector< String > | name_diffs_outputs |
A separate function name for evaluating the derivatives of each output. | |
std::vector< uint > | num_outputs |
A separate dimension for each output. | |
uint | NX |
Number of differential states. | |
uint | NDX |
Number of differential states derivatives. | |
uint | NXA |
Number of algebraic states. | |
uint | NU |
Number of control inputs. | |
uint | NP |
Number of parameters. | |
uint | N |
Number of control intervals. | |
uint | NY |
Number of measurements, k = 0,..., N - 1. | |
uint | NYN |
Number of measurements, k = N. | |
String | commonHeaderName |
Name of common header file. | |
UserInteraction * | userInteraction |
Pointer to top-level user interface. | |
BooleanType | useModuleStandalone |
Flag indicating whether algorithmic module is used stand-alone. | |
int | outputLoggingIdx |
Index of log record for algorithmic standard output to be optionally used within derived classes. |
The class DiagonallyIRK5Export allows to export a tailored diagonally implicit 5-stage Runge-Kutta method of order 5 for fast model predictive control.
int AlgorithmicBase::addLogRecord | ( | LogRecord & | _record | ) | [inline, inherited] |
[in] | record | Record to be added. |
References Logging::addLogRecord(), and AlgorithmicBase::userInteraction.
Referenced by SCPmethod::setupLogging(), DenseQPsolver::setupLogging(), DynamicDiscretization::setupLogging(), and Integrator::setupLogging().
returnValue AlgorithmicBase::addOption | ( | OptionsName | name, |
int | value | ||
) | [inline, inherited] |
[in] | name | Name of new option item. |
[in] | value | Default value of new option. |
References Options::addOption(), and AlgorithmicBase::userInteraction.
Referenced by BandedCPsolver::setupOptions(), NLPsolver::setupOptions(), DynamicDiscretization::setupOptions(), and Integrator::setupOptions().
returnValue AlgorithmicBase::addOption | ( | OptionsName | name, |
double | value | ||
) | [inline, inherited] |
[in] | name | Name of new option item. |
[in] | value | Default value of new option. |
References Options::addOption(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::addOption | ( | uint | idx, |
OptionsName | name, | ||
int | value | ||
) | [inline, inherited] |
[in] | idx | Index of option list. |
[in] | name | Name of new option item. |
[in] | value | Default value of new option. |
References Options::addOption(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::addOption | ( | uint | idx, |
OptionsName | name, | ||
double | value | ||
) | [inline, inherited] |
[in] | idx | Index of option list. |
[in] | name | Name of new option item. |
[in] | value | Default value of new option. |
References Options::addOption(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::addOptionsList | ( | ) | [inherited] |
References Options::addOptionsList(), and AlgorithmicBase::userInteraction.
Referenced by ShootingMethod::addStage().
returnValue IntegratorExport::clear | ( | ) | [protected, virtual, inherited] |
References SUCCESSFUL_RETURN.
Referenced by RungeKuttaExport::operator=(), DiscreteTimeExport::operator=(), IntegratorExport::operator=(), AdjointIRKExport::~AdjointIRKExport(), DiagonallyImplicitRKExport::~DiagonallyImplicitRKExport(), DiscreteTimeExport::~DiscreteTimeExport(), ExplicitRungeKuttaExport::~ExplicitRungeKuttaExport(), ForwardIRKExport::~ForwardIRKExport(), ImplicitRungeKuttaExport::~ImplicitRungeKuttaExport(), IntegratorExport::~IntegratorExport(), NARXExport::~NARXExport(), and RungeKuttaExport::~RungeKuttaExport().
Vector ImplicitRungeKuttaExport::computeCombinations | ( | const Vector & | cVec, |
uint | index, | ||
uint | numEls | ||
) | [protected, inherited] |
[in] | cVec | The vector with all the elements of the vector cc from the Butcher table, of which combinations are computed in a recursive way. |
[in] | index | An index of the vector cVec which denotes the relevant part for this invocation. |
[in] | numEls | The number of elements in the combination. |
References Vector::append(), VectorspaceElement::getDim(), and uint.
Referenced by ImplicitRungeKuttaExport::initializeCoefficients().
returnValue RungeKuttaExport::copy | ( | const RungeKuttaExport & | arg | ) | [protected, virtual, inherited] |
[in] | arg | Right-hand side object. |
References RungeKuttaExport::AA, RungeKuttaExport::bb, RungeKuttaExport::cc, IntegratorExport::diffs_rhs, IntegratorExport::grid, IntegratorExport::integrate, IntegratorExport::name_diffs_rhs, IntegratorExport::name_rhs, RungeKuttaExport::numStages, IntegratorExport::rhs, RungeKuttaExport::rk_kkk, IntegratorExport::rk_ttt, IntegratorExport::rk_xxx, and SUCCESSFUL_RETURN.
Referenced by ExplicitRungeKuttaExport::ExplicitRungeKuttaExport(), RungeKuttaExport::operator=(), and RungeKuttaExport::RungeKuttaExport().
returnValue ExportAlgorithm::copy | ( | const ExportAlgorithm & | arg | ) | [protected, inherited] |
[in] | arg | Right-hand side object. |
References ExportAlgorithm::commonHeaderName, ExportAlgorithm::N, ExportAlgorithm::NP, ExportAlgorithm::NU, ExportAlgorithm::NX, ExportAlgorithm::NXA, ExportAlgorithm::NY, and SUCCESSFUL_RETURN.
Referenced by ExportAlgorithm::ExportAlgorithm(), and ExportAlgorithm::operator=().
returnValue IntegratorExport::copy | ( | const IntegratorExport & | arg | ) | [protected, virtual, inherited] |
[in] | arg | Right-hand side object. |
References IntegratorExport::crsFormat, IntegratorExport::exportRhs, IntegratorExport::grid, IntegratorExport::integrate, IntegratorExport::numSteps, and SUCCESSFUL_RETURN.
returnValue ImplicitRungeKuttaExport::copy | ( | const ImplicitRungeKuttaExport & | arg | ) | [protected, virtual, inherited] |
[in] | arg | Right-hand side object. |
References ImplicitRungeKuttaExport::coeffs, ImplicitRungeKuttaExport::CONTINUOUS_OUTPUT, ImplicitRungeKuttaExport::DD, ImplicitRungeKuttaExport::debug_mat, IntegratorExport::diffs_outputs, IntegratorExport::diffs_rhs, IntegratorExport::diffsDim, IntegratorExport::fullRhs, IntegratorExport::grid, ImplicitRungeKuttaExport::gridVariables, IntegratorExport::inputDim, IntegratorExport::integrate, IntegratorExport::name_diffs_outputs, IntegratorExport::name_diffs_rhs, IntegratorExport::name_outputs, IntegratorExport::name_rhs, IntegratorExport::num_outputs, ImplicitRungeKuttaExport::numIts, ImplicitRungeKuttaExport::numItsInit, RungeKuttaExport::numStages, IntegratorExport::outputGrids, IntegratorExport::outputs, ImplicitRungeKuttaExport::polynEvalVar, ImplicitRungeKuttaExport::REUSE, IntegratorExport::rhs, ImplicitRungeKuttaExport::rk_A, ImplicitRungeKuttaExport::rk_b, ImplicitRungeKuttaExport::rk_diffK, IntegratorExport::rk_diffsNew1, IntegratorExport::rk_diffsNew2, IntegratorExport::rk_diffsNew3, ImplicitRungeKuttaExport::rk_diffsOutputTemp, IntegratorExport::rk_diffsPrev1, IntegratorExport::rk_diffsPrev2, IntegratorExport::rk_diffsPrev3, IntegratorExport::rk_diffsTemp2, ImplicitRungeKuttaExport::rk_diffsTemp3, IntegratorExport::rk_eta, RungeKuttaExport::rk_kkk, ImplicitRungeKuttaExport::rk_out, ImplicitRungeKuttaExport::rk_outH, ImplicitRungeKuttaExport::rk_outputs, ImplicitRungeKuttaExport::rk_rhsOutputTemp, ImplicitRungeKuttaExport::rk_rhsTemp, IntegratorExport::rk_ttt, IntegratorExport::rk_xxx, ImplicitRungeKuttaExport::solver, SUCCESSFUL_RETURN, and ImplicitRungeKuttaExport::totalMeas.
Referenced by AdjointIRKExport::operator=(), ForwardIRKExport::operator=(), and ImplicitRungeKuttaExport::operator=().
Vector ImplicitRungeKuttaExport::divideMeasurements | ( | uint | index | ) | [protected, inherited] |
[in] | index | The index of the continuous output for which the division of measurements is returned. |
References IntegratorExport::getIntegrationInterval(), Grid::getNumIntervals(), IntegratorExport::grid, IntegratorExport::outputGrids, uint, and zeros().
Referenced by ImplicitRungeKuttaExport::prepareOutputEvaluation().
BooleanType IntegratorExport::equidistantControlGrid | ( | ) | const [virtual, inherited] |
References VectorspaceElement::isEmpty(), and IntegratorExport::numSteps.
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), AdjointIRKExport::getDataDeclarations(), ForwardIRKExport::getDataDeclarations(), ForwardIRKExport::sensitivitiesInputSystem(), AdjointIRKExport::sensitivitiesInputSystem(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), NARXExport::setup(), ExplicitRungeKuttaExport::setup(), DiscreteTimeExport::setup(), ForwardIRKExport::setup(), AdjointIRKExport::setup(), ImplicitRungeKuttaExport::setup(), and SIMexport::setup().
Vector ImplicitRungeKuttaExport::evaluateDerivedPolynomial | ( | double | time | ) | [protected, inherited] |
[in] | time | The point in the interval (0,1] for which the coefficients are returned. |
References RungeKuttaExport::cc, RungeKuttaExport::numStages, and uint.
Referenced by ImplicitRungeKuttaExport::evaluateDerivedPolynomial(), ImplicitRungeKuttaExport::generateOutput(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::prepareOutputEvaluation(), ForwardIRKExport::sensitivitiesImplicitSystem(), AdjointIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesOutputs(), and AdjointIRKExport::sensitivitiesOutputs().
returnValue ImplicitRungeKuttaExport::evaluateDerivedPolynomial | ( | ExportStatementBlock & | block, |
const ExportVariable & | variable, | ||
const ExportVariable & | grid | ||
) | [protected, inherited] |
[in] | block | The block to which the code will be exported. |
[in] | variable | The variable containing the coefficients of the polynomial. |
[in] | grid | The variable containing the grid point for the specific output. |
References ExportStatementBlock::addStatement(), RungeKuttaExport::cc, ExportData::getFullName(), ExportData::getName(), RungeKuttaExport::numStages, SUCCESSFUL_RETURN, and uint.
Matrix ImplicitRungeKuttaExport::evaluateDerivedPolynomial | ( | uint | index | ) | [protected, inherited] |
[in] | index | The index of the continuous output for which the coefficients are returned. |
References ImplicitRungeKuttaExport::evaluateDerivedPolynomial(), Grid::getFirstTime(), IntegratorExport::getIntegrationInterval(), Grid::getLastTime(), Grid::getTime(), IntegratorExport::grid, MEASUREMENT_GRID, RungeKuttaExport::numStages, OFFLINE_GRID, IntegratorExport::outputGrids, Matrix::setRow(), ImplicitRungeKuttaExport::totalMeas, and uint.
returnValue DiagonallyImplicitRKExport::evaluateMatrix | ( | ExportStatementBlock * | block, |
const ExportIndex & | index1, | ||
const ExportIndex & | index2, | ||
const ExportIndex & | tmp_index, | ||
const ExportVariable & | Ah, | ||
const ExportVariable & | C, | ||
BooleanType | evaluateB, | ||
BooleanType | DERIVATIVES | ||
) | [virtual, inherited] |
[in] | block | The block to which the code will be exported. |
[in] | index1 | The loop index of the outer loop. |
[in] | index2 | The loop index of the inner loop. |
[in] | tmp_index | A temporary index to be used. |
[in] | Ah | The matrix A of the IRK method, multiplied by the step size h. |
[in] | evaluateB | True if the right-hand side of the linear system should also be evaluated, false otherwise. |
Reimplemented from ImplicitRungeKuttaExport.
References ExportStatementBlock::addFunctionCall(), ExportStatementBlock::addStatement(), DiagonallyImplicitRKExport::evaluateRhsImplicitSystem(), DiagonallyImplicitRKExport::evaluateStatesImplicitSystem(), ExportArgument::getAddress(), IntegratorExport::getNameDiffsRHS(), ExportVariable::getSubMatrix(), ImplicitRungeKuttaExport::NDX2, ImplicitRungeKuttaExport::NVARS2, IntegratorExport::NX1, IntegratorExport::NX2, ExportAlgorithm::NXA, ImplicitRungeKuttaExport::rk_A, IntegratorExport::rk_diffsTemp2, IntegratorExport::rk_xxx, SUCCESSFUL_RETURN, and zeros().
Referenced by DiagonallyImplicitRKExport::solveImplicitSystem().
Vector ImplicitRungeKuttaExport::evaluatePolynomial | ( | double | time | ) | [protected, inherited] |
[in] | time | The point in the interval (0,1] for which the coefficients are returned. |
References ImplicitRungeKuttaExport::coeffs, RungeKuttaExport::numStages, pow(), and uint.
Referenced by ImplicitRungeKuttaExport::evaluatePolynomial(), ImplicitRungeKuttaExport::generateOutput(), ImplicitRungeKuttaExport::prepareOutputEvaluation(), ForwardIRKExport::sensitivitiesOutputs(), and AdjointIRKExport::sensitivitiesOutputs().
returnValue ImplicitRungeKuttaExport::evaluatePolynomial | ( | ExportStatementBlock & | block, |
const ExportVariable & | variable, | ||
const ExportVariable & | grid, | ||
const String & | h | ||
) | [protected, inherited] |
[in] | block | The block to which the code will be exported. |
[in] | variable | The variable containing the coefficients of the polynomial. |
[in] | grid | The variable containing the grid point for the specific output. |
[in] | h | The integration step size. |
References ExportStatementBlock::addStatement(), ImplicitRungeKuttaExport::coeffs, ExportData::getFullName(), ExportVariable::getRow(), RungeKuttaExport::numStages, ImplicitRungeKuttaExport::polynEvalVar, SUCCESSFUL_RETURN, and uint.
Matrix ImplicitRungeKuttaExport::evaluatePolynomial | ( | uint | index | ) | [protected, inherited] |
[in] | index | The index of the continuous output for which the coefficients are returned. |
References ImplicitRungeKuttaExport::evaluatePolynomial(), Grid::getFirstTime(), IntegratorExport::getIntegrationInterval(), Grid::getLastTime(), Grid::getTime(), IntegratorExport::grid, MEASUREMENT_GRID, RungeKuttaExport::numStages, OFFLINE_GRID, IntegratorExport::outputGrids, Matrix::setRow(), ImplicitRungeKuttaExport::totalMeas, and uint.
returnValue DiagonallyImplicitRKExport::evaluateRhsImplicitSystem | ( | ExportStatementBlock * | block, |
const ExportIndex & | stage | ||
) | [virtual, inherited] |
[in] | block | The block to which the code will be exported. |
[in] | index | The loop index, defining the stage. |
Reimplemented from ImplicitRungeKuttaExport.
References ExportStatementBlock::addFunctionCall(), ExportStatementBlock::addStatement(), ExportArgument::getAddress(), IntegratorExport::getNameRHS(), Matrix::getRows(), ExportVariable::getRows(), ExportVariable::getSubMatrix(), ImplicitRungeKuttaExport::NDX2, IntegratorExport::NX1, IntegratorExport::NX2, ExportAlgorithm::NXA, ImplicitRungeKuttaExport::rk_b, RungeKuttaExport::rk_kkk, ImplicitRungeKuttaExport::rk_rhsTemp, IntegratorExport::rk_xxx, SUCCESSFUL_RETURN, and zeros().
Referenced by DiagonallyImplicitRKExport::evaluateMatrix(), and DiagonallyImplicitRKExport::solveImplicitSystem().
returnValue DiagonallyImplicitRKExport::evaluateStatesImplicitSystem | ( | ExportStatementBlock * | block, |
const ExportVariable & | Ah, | ||
const ExportVariable & | C, | ||
const ExportIndex & | stage, | ||
const ExportIndex & | i, | ||
const ExportIndex & | j | ||
) | [virtual, inherited] |
[in] | block | The block to which the code will be exported. |
[in] | Ah | The matrix A of the IRK method, multiplied by the step size h. |
[in] | index | The loop index, defining the stage. |
Reimplemented from ImplicitRungeKuttaExport.
References ExportStatementBlock::addStatement(), IntegratorExport::diffsDim, ExportVariable::getCol(), ExportVariable::getDim(), ExportVariable::getSubMatrix(), IntegratorExport::inputDim, ImplicitRungeKuttaExport::NDX2, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, ExportAlgorithm::NXA, IntegratorExport::rk_eta, RungeKuttaExport::rk_kkk, IntegratorExport::rk_xxx, and SUCCESSFUL_RETURN.
Referenced by DiagonallyImplicitRKExport::evaluateMatrix(), and DiagonallyImplicitRKExport::solveImplicitSystem().
returnValue ImplicitRungeKuttaExport::evaluateStatesOutputSystem | ( | ExportStatementBlock * | block, |
const ExportVariable & | Ah, | ||
const ExportIndex & | stage | ||
) | [protected, inherited] |
[in] | block | The block to which the code will be exported. |
[in] | Ah | The matrix A of the IRK method, multiplied by the step size h. |
[in] | index | The loop index, defining the stage. |
References ExportStatementBlock::addStatement(), IntegratorExport::diffsDim, ExportVariable::getCol(), ExportVariable::getSubMatrix(), IntegratorExport::inputDim, IntegratorExport::NDX3, RungeKuttaExport::numStages, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, IntegratorExport::NX3, IntegratorExport::NXA3, IntegratorExport::rk_eta, RungeKuttaExport::rk_kkk, IntegratorExport::rk_xxx, SUCCESSFUL_RETURN, and uint.
Referenced by DiagonallyImplicitRKExport::solveOutputSystem(), and ImplicitRungeKuttaExport::solveOutputSystem().
Matrix IntegratorExport::expandOutputMatrix | ( | const Matrix & | A3 | ) | [protected, inherited] |
[in] | A3 | . |
References ExportAlgorithm::NX, IntegratorExport::NX3, uint, and zeros().
Referenced by IntegratorExport::setLinearOutput(), and NARXExport::setLinearOutput().
Matrix DiagonallyImplicitRKExport::formMatrix | ( | const Matrix & | mass, |
const Matrix & | jacobian | ||
) | [virtual, inherited] |
[in] | jacobian | given constant Jacobian matrix |
[in] | mass | given constant mass matrix |
Reimplemented from ImplicitRungeKuttaExport.
References RungeKuttaExport::AA, Grid::getFirstTime(), Matrix::getInverse(), Grid::getLastTime(), Matrix::getNumCols(), Grid::getNumIntervals(), Matrix::getNumRows(), IntegratorExport::grid, jacobian(), RungeKuttaExport::numStages, RET_UNABLE_TO_EXPORT_CODE, uint, and zeros().
Referenced by DiagonallyImplicitRKExport::prepareInputSystem(), and DiagonallyImplicitRKExport::prepareOutputSystem().
returnValue ImplicitRungeKuttaExport::generateOutput | ( | ExportStatementBlock * | block, |
const ExportIndex & | index0, | ||
const ExportIndex & | index1, | ||
const ExportIndex & | tmp_index1, | ||
const ExportIndex & | tmp_index2, | ||
const ExportVariable & | tmp_meas, | ||
const ExportVariable & | time_tmp, | ||
const uint | directions | ||
) | [protected, inherited] |
[in] | block | The block to which the code will be exported. |
[in] | tmp_meas | The number of measurements in the current integration step (in case of an online grid). |
[in] | rk_tPrev | The time point, defining the beginning of the current integration step (in case of an online grid). |
[in] | time_tmp | A variable used for time transformations (in case of an online grid). |
References acadoRoundAway(), ExportStatementBlock::addFunctionCall(), ExportStatementBlock::addStatement(), IntegratorExport::crsFormat, IntegratorExport::diffsDim, ImplicitRungeKuttaExport::evaluateDerivedPolynomial(), ImplicitRungeKuttaExport::evaluatePolynomial(), IntegratorExport::exportRhs, ExportVariable::get(), ExportArgument::getAddress(), ExportVariable::getCol(), IntegratorExport::getDimOUTPUT(), Grid::getFirstTime(), Grid::getLastTime(), ExportData::getName(), IntegratorExport::getNameOUTPUT(), Grid::getNumIntervals(), ExportVariable::getRow(), IntegratorExport::grid, ImplicitRungeKuttaExport::gridVariables, IntegratorExport::inputDim, MEASUREMENT_GRID, ExportAlgorithm::NDX, ExportAlgorithm::NU, ImplicitRungeKuttaExport::numDX_output, ImplicitRungeKuttaExport::numMeas, ImplicitRungeKuttaExport::numMeasVariables, RungeKuttaExport::numStages, ImplicitRungeKuttaExport::numXA_output, ExportAlgorithm::NX, ExportAlgorithm::NXA, OFFLINE_GRID, IntegratorExport::outputDependencies, ImplicitRungeKuttaExport::polynDerVariables, ImplicitRungeKuttaExport::polynVariables, IntegratorExport::rk_eta, RungeKuttaExport::rk_kkk, ImplicitRungeKuttaExport::rk_out, ImplicitRungeKuttaExport::rk_outH, ImplicitRungeKuttaExport::rk_outputs, ImplicitRungeKuttaExport::rk_rhsOutputTemp, IntegratorExport::rk_xxx, SUCCESSFUL_RETURN, sumRow(), and uint.
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), and ImplicitRungeKuttaExport::getCode().
returnValue AlgorithmicBase::get | ( | OptionsName | name, |
int & | value | ||
) | const [inline, inherited] |
[in] | name | Name of option item. |
[out] | value | Value of option. |
References Options::get(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::get | ( | OptionsName | name, |
double & | value | ||
) | const [inline, inherited] |
[in] | name | Name of option item. |
[out] | value | Value of option. |
References Options::get(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::get | ( | uint | idx, |
OptionsName | name, | ||
int & | value | ||
) | const [inline, inherited] |
[in] | idx | Index of option list. |
[in] | name | Name of option item. |
[out] | value | Value of option. |
References Options::get(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::get | ( | uint | idx, |
OptionsName | name, | ||
double & | value | ||
) | const [inline, inherited] |
[in] | idx | Index of option list. |
[in] | name | Name of option item. |
[out] | value | Value of option. |
References Options::get(), and AlgorithmicBase::userInteraction.
BEGIN_NAMESPACE_ACADO returnValue AlgorithmicBase::getAll | ( | LogName | _name, |
MatrixVariablesGrid & | values | ||
) | const [inline, inherited] |
If this item exists in more than one record, the first one is choosen as they are expected to have identical values anyhow.
[in] | _name | Internal name of item. |
[out] | values | All numerical values at all time instants of given item. |
References Logging::getAll(), and AlgorithmicBase::userInteraction.
ExportVariable ForwardIRKExport::getAuxVariable | ( | ) | const [protected, virtual, inherited] |
Reimplemented from ImplicitRungeKuttaExport.
References IntegratorExport::diffs_outputs, IntegratorExport::diffs_rhs, IntegratorExport::diffs_rhs3, ExportVariable::getDim(), ExportAcadoFunction::getGlobalExportVariable(), IntegratorExport::lin_input, max(), IntegratorExport::NX1, IntegratorExport::NX2, IntegratorExport::NX3, ExportAlgorithm::NXA, IntegratorExport::outputs, IntegratorExport::rhs, IntegratorExport::rhs3, and uint.
Referenced by ForwardIRKExport::getCode().
returnValue ForwardIRKExport::getCode | ( | ExportStatementBlock & | code | ) | [virtual, inherited] |
[in] | code | Code block containing the auto-generated integrator. |
Reimplemented from ImplicitRungeKuttaExport.
References RungeKuttaExport::AA, ACADO_LOCAL, ACADOERROR, ExportStatementBlock::addComment(), ExportStatementBlock::addDeclaration(), ExportStatementBlock::addFunction(), ExportFunction::addIndex(), ExportStatementBlock::addLinebreak(), ExportStatementBlock::addStatement(), ExportLinearSolver::appendVariableNames(), RungeKuttaExport::bb, BT_FALSE, BT_TRUE, RungeKuttaExport::cc, CG_USE_OPENMP, ImplicitRungeKuttaExport::CONTINUOUS_OUTPUT, IntegratorExport::diffs_outputs, IntegratorExport::diffs_rhs, IntegratorExport::diffs_rhs3, IntegratorExport::diffsDim, DYNAMIC_SENSITIVITY, IntegratorExport::equidistantControlGrid(), IntegratorExport::error_code, ImplicitRungeKuttaExport::evaluateDerivedPolynomial(), IntegratorExport::exportRhs, FORWARD, IntegratorExport::fullRhs, ImplicitRungeKuttaExport::generateOutput(), ExportVariable::get(), ForwardIRKExport::getAuxVariable(), ExportLinearSolver::getCode(), ExportVariable::getCol(), ExportVariable::getCols(), ForwardIRKExport::getDataDeclarations(), Grid::getFirstTime(), ExportData::getFullName(), Grid::getLastTime(), ExportData::getName(), String::getName(), Grid::getNumIntervals(), ExportVariable::getRow(), ExportVariable::getSubMatrix(), IntegratorExport::grid, ImplicitRungeKuttaExport::gridVariables, ImplicitRungeKuttaExport::initializeCoefficients(), ImplicitRungeKuttaExport::initializeDDMatrix(), IntegratorExport::inputDim, INT, IntegratorExport::integrate, IntegratorExport::lin_input, max(), MEASUREMENT_GRID, ExportAlgorithm::NU, ImplicitRungeKuttaExport::numMeas, ImplicitRungeKuttaExport::numMeasVariables, RungeKuttaExport::numStages, IntegratorExport::numSteps, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, IntegratorExport::NX3, ExportAlgorithm::NXA, OFFLINE_GRID, ONLINE_GRID, IntegratorExport::outputGrids, IntegratorExport::outputs, ImplicitRungeKuttaExport::polynEvalVar, ImplicitRungeKuttaExport::prepareFullRhs(), ForwardIRKExport::prepareInputSystem(), ImplicitRungeKuttaExport::prepareOutputEvaluation(), ForwardIRKExport::prepareOutputSystem(), IntegratorExport::propagateImplicitSystem(), IntegratorExport::propagateInputSystem(), ForwardIRKExport::propagateOutputs(), IntegratorExport::propagateOutputSystem(), REAL, IntegratorExport::reset_int, RET_INVALID_OPTION, IntegratorExport::rhs, IntegratorExport::rhs3, ImplicitRungeKuttaExport::rk_A, ImplicitRungeKuttaExport::rk_auxSolver, ImplicitRungeKuttaExport::rk_b, ImplicitRungeKuttaExport::rk_diffK, IntegratorExport::rk_diffsNew1, IntegratorExport::rk_diffsNew2, IntegratorExport::rk_diffsNew3, IntegratorExport::rk_diffsPrev1, IntegratorExport::rk_diffsPrev2, IntegratorExport::rk_diffsPrev3, IntegratorExport::rk_diffsTemp2, ImplicitRungeKuttaExport::rk_diffsTemp3, IntegratorExport::rk_eta, IntegratorExport::rk_index, RungeKuttaExport::rk_kkk, ImplicitRungeKuttaExport::rk_outputs, ImplicitRungeKuttaExport::rk_rhsTemp, IntegratorExport::rk_ttt, IntegratorExport::rk_xxx, ForwardIRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesInputSystem(), ForwardIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputSystem(), ExportData::setDataStruct(), ExportAcadoFunction::setGlobalExportVariable(), ExportData::setName(), ImplicitRungeKuttaExport::solveImplicitSystem(), ImplicitRungeKuttaExport::solveInputSystem(), ImplicitRungeKuttaExport::solveOutputSystem(), ImplicitRungeKuttaExport::solver, STATIC_CONST_INT, STATIC_CONST_REAL, SUCCESSFUL_RETURN, IntegratorExport::timeDependant, ImplicitRungeKuttaExport::totalMeas, uint, IntegratorExport::updateImplicitSystem(), IntegratorExport::updateInputSystem(), IntegratorExport::updateOutputSystem(), and zeros().
returnValue ForwardIRKExport::getCRSIndex | ( | uint | output, |
ExportIndex | row, | ||
ExportIndex | col | ||
) | [protected, inherited] |
[in] | output | The number of the output function. |
[in] | row | The number of the row, corresponding the element of interest. |
[in] | col | The number of the column, corresponding the element of interest. |
Reimplemented from ImplicitRungeKuttaExport.
returnValue ForwardIRKExport::getDataDeclarations | ( | ExportStatementBlock & | declarations, |
ExportStruct | dataStruct = ACADO_ANY |
||
) | const [virtual, inherited] |
[in] | declarations | List of declarations. |
Reimplemented from ImplicitRungeKuttaExport.
References ExportStatementBlock::addDeclaration(), ImplicitRungeKuttaExport::CONTINUOUS_OUTPUT, IntegratorExport::equidistantControlGrid(), Grid::getNumIntervals(), IntegratorExport::grid, ImplicitRungeKuttaExport::rk_diffK, IntegratorExport::rk_diffsNew1, IntegratorExport::rk_diffsNew2, IntegratorExport::rk_diffsNew3, ImplicitRungeKuttaExport::rk_diffsOutputTemp, IntegratorExport::rk_diffsPrev1, IntegratorExport::rk_diffsPrev2, IntegratorExport::rk_diffsPrev3, ImplicitRungeKuttaExport::rk_diffsTemp3, and SUCCESSFUL_RETURN.
Referenced by ForwardIRKExport::getCode().
uint IntegratorExport::getDimOUTPUT | ( | uint | index | ) | const [inherited] |
References IntegratorExport::exportRhs, IntegratorExport::num_outputs, and IntegratorExport::outputExpressions.
Referenced by ImplicitRungeKuttaExport::generateOutput(), ForwardIRKExport::propagateOutputs(), AdjointIRKExport::propagateOutputs(), AdjointIRKExport::sensitivitiesOutputs(), and ForwardIRKExport::sensitivitiesOutputs().
returnValue AlgorithmicBase::getFirst | ( | LogName | _name, |
Matrix & | firstValue | ||
) | const [inline, inherited] |
If this item exists in more than one record, the first one is choosen as they are expected to have identical values anyhow.
[in] | _name | Internal name of item. |
[out] | firstValue | Numerical value at first time instant of given item. |
References Logging::getFirst(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::getFirst | ( | LogName | _name, |
VariablesGrid & | firstValue | ||
) | const [inline, inherited] |
If this item exists in more than one record, the first one is choosen as they are expected to have identical values anyhow.
[in] | _name | Internal name of item. |
[out] | firstValue | Numerical value at first time instant of given item. |
References Logging::getFirst(), and AlgorithmicBase::userInteraction.
returnValue ForwardIRKExport::getFunctionDeclarations | ( | ExportStatementBlock & | declarations | ) | const [virtual, inherited] |
[in] | declarations | List of declarations. |
Reimplemented from ImplicitRungeKuttaExport.
References ExportStatementBlock::addDeclaration(), ImplicitRungeKuttaExport::CONTINUOUS_OUTPUT, IntegratorExport::exportRhs, IntegratorExport::getNameDiffsOUTPUT(), IntegratorExport::getNameDiffsRHS(), IntegratorExport::getNameOutputDiffs(), IntegratorExport::name_outputs, IntegratorExport::NX3, SUCCESSFUL_RETURN, uint, and zeros().
returnValue IntegratorExport::getGrid | ( | Grid & | grid_ | ) | const [virtual, inherited] |
uint IntegratorExport::getIntegrationInterval | ( | double | time | ) | [protected, inherited] |
[in] | time | The time. |
References Grid::getFirstTime(), Grid::getLastTime(), Grid::getNumIntervals(), Grid::getTime(), IntegratorExport::grid, and uint.
Referenced by ImplicitRungeKuttaExport::divideMeasurements(), ImplicitRungeKuttaExport::evaluateDerivedPolynomial(), and ImplicitRungeKuttaExport::evaluatePolynomial().
returnValue AlgorithmicBase::getLast | ( | LogName | _name, |
Matrix & | lastValue | ||
) | const [inline, inherited] |
If this item exists in more than one record, the first one is choosen as they are expected to have identical values anyhow.
[in] | _name | Internal name of item. |
[out] | lastValue | Numerical value at last time instant of given item. |
References Logging::getLast(), and AlgorithmicBase::userInteraction.
Referenced by Process::simulate().
returnValue AlgorithmicBase::getLast | ( | LogName | _name, |
VariablesGrid & | lastValue | ||
) | const [inline, inherited] |
If this item exists in more than one record, the first one is choosen as they are expected to have identical values anyhow.
[in] | _name | Internal name of item. |
[out] | lastValue | Numerical value at last time instant of given item. |
References Logging::getLast(), and AlgorithmicBase::userInteraction.
uint ExportAlgorithm::getN | ( | ) | const [inherited] |
References ExportAlgorithm::N.
Referenced by ExportNLPSolver::setupResidualVariables(), and ExportNLPSolver::setupSimulation().
const String IntegratorExport::getNameDiffsOUTPUT | ( | uint | index | ) | const [inherited] |
References IntegratorExport::diffs_outputs, IntegratorExport::exportRhs, and IntegratorExport::name_diffs_outputs.
Referenced by AdjointIRKExport::getFunctionDeclarations(), ForwardIRKExport::getFunctionDeclarations(), ForwardIRKExport::sensitivitiesOutputs(), and AdjointIRKExport::sensitivitiesOutputs().
const String IntegratorExport::getNameDiffsRHS | ( | ) | const [inherited] |
References IntegratorExport::diffs_rhs, IntegratorExport::exportRhs, ExportFunction::getName(), and IntegratorExport::name_diffs_rhs.
Referenced by DiagonallyImplicitRKExport::evaluateMatrix(), ImplicitRungeKuttaExport::evaluateMatrix(), ForwardIRKExport::getFunctionDeclarations(), AdjointIRKExport::getFunctionDeclarations(), ExplicitRungeKuttaExport::getFunctionDeclarations(), DiscreteTimeExport::getFunctionDeclarations(), ExplicitRungeKuttaExport::setup(), and DiscreteTimeExport::setup().
const String IntegratorExport::getNameFullRHS | ( | ) | const [virtual, inherited] |
References IntegratorExport::fullRhs, ExportFunction::getName(), IntegratorExport::getNameRHS(), ExportAlgorithm::NX, and IntegratorExport::NX2.
Referenced by SIMexport::exportCode().
const String IntegratorExport::getNameOUTPUT | ( | uint | index | ) | const [inherited] |
const String IntegratorExport::getNameOutputDiffs | ( | ) | const [inherited] |
References IntegratorExport::diffs_rhs3, IntegratorExport::exportRhs, ExportFunction::getName(), and IntegratorExport::name_diffs_rhs3.
Referenced by AdjointIRKExport::getFunctionDeclarations(), ForwardIRKExport::getFunctionDeclarations(), NARXExport::setup(), DiscreteTimeExport::setup(), DiagonallyImplicitRKExport::solveOutputSystem(), and ImplicitRungeKuttaExport::solveOutputSystem().
const String IntegratorExport::getNameOutputRHS | ( | ) | const [inherited] |
References IntegratorExport::exportRhs, ExportFunction::getName(), IntegratorExport::name_rhs3, and IntegratorExport::rhs3.
Referenced by ImplicitRungeKuttaExport::getFunctionDeclarations(), NARXExport::prepareFullRhs(), IntegratorExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareFullRhs(), NARXExport::setup(), DiscreteTimeExport::setup(), DiagonallyImplicitRKExport::solveOutputSystem(), and ImplicitRungeKuttaExport::solveOutputSystem().
const String IntegratorExport::getNameRHS | ( | ) | const [inherited] |
References IntegratorExport::exportRhs, ExportFunction::getName(), IntegratorExport::name_rhs, and IntegratorExport::rhs.
Referenced by DiagonallyImplicitRKExport::evaluateRhsImplicitSystem(), ImplicitRungeKuttaExport::evaluateRhsImplicitSystem(), ExplicitRungeKuttaExport::getFunctionDeclarations(), DiscreteTimeExport::getFunctionDeclarations(), ImplicitRungeKuttaExport::getFunctionDeclarations(), IntegratorExport::getNameFullRHS(), NARXExport::prepareFullRhs(), IntegratorExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareFullRhs(), and DiscreteTimeExport::setup().
uint ExportAlgorithm::getNDX | ( | ) | const [inherited] |
uint ExportAlgorithm::getNP | ( | ) | const [inherited] |
References ExportAlgorithm::NP.
Referenced by ExportNLPSolver::setupSimulation().
uint ExportAlgorithm::getNU | ( | ) | const [inherited] |
References ExportAlgorithm::NU.
Referenced by ExportGaussNewtonCN2::setupCondensing(), ExportGaussNewtonCondensed::setupCondensing(), ExportGaussNewtonCN2::setupConstraintsEvaluation(), ExportGaussNewtonCondensed::setupConstraintsEvaluation(), and ExportNLPSolver::setupSimulation().
uint ImplicitRungeKuttaExport::getNumIts | ( | ) | const [protected, inherited] |
References ImplicitRungeKuttaExport::numIts.
uint ImplicitRungeKuttaExport::getNumItsInit | ( | ) | const [protected, inherited] |
References ImplicitRungeKuttaExport::numItsInit.
uint RungeKuttaExport::getNumStages | ( | ) | [inherited] |
References RungeKuttaExport::numStages.
Referenced by ExplicitRungeKuttaExport::setup().
returnValue IntegratorExport::getNumSteps | ( | Vector & | _numSteps | ) | const [virtual, inherited] |
uint ExportAlgorithm::getNX | ( | ) | const [inherited] |
References ExportAlgorithm::NX.
Referenced by ExportNLPSolver::setupArrivalCostCalculation(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonCN2::setupCondensing(), ExportGaussNewtonCondensed::setupCondensing(), ExportGaussNewtonQpDunes::setupConstraintsEvaluation(), ExportGaussNewtonCondensed::setupConstraintsEvaluation(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonCondensed::setupObjectiveEvaluation(), and ExportNLPSolver::setupSimulation().
uint ExportAlgorithm::getNXA | ( | ) | const [inherited] |
References ExportAlgorithm::NXA.
Referenced by ExportNLPSolver::setupSimulation().
uint ExportAlgorithm::getNY | ( | ) | const [inherited] |
References ExportAlgorithm::NY.
Referenced by ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), ExportGaussNewtonCondensed::setupObjectiveEvaluation(), and ExportNLPSolver::setupResidualVariables().
uint ExportAlgorithm::getNYN | ( | ) | const [inherited] |
References ExportAlgorithm::NYN.
Referenced by ExportNLPSolver::setObjective(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), ExportGaussNewtonCondensed::setupObjectiveEvaluation(), and ExportNLPSolver::setupResidualVariables().
Options AlgorithmicBase::getOptions | ( | uint | idx | ) | const [inherited] |
[in] | idx | Index of option list. |
References Options::getOptions(), and AlgorithmicBase::userInteraction.
Referenced by ShootingMethod::evaluate().
returnValue IntegratorExport::getOutputExpressions | ( | std::vector< Expression > & | outputExpressions_ | ) | const [virtual, inherited] |
returnValue IntegratorExport::getOutputGrids | ( | std::vector< Grid > & | outputGrids_ | ) | const [virtual, inherited] |
BooleanType AlgorithmicBase::haveOptionsChanged | ( | ) | const [inline, inherited] |
References Options::haveOptionsChanged(), and AlgorithmicBase::userInteraction.
BooleanType AlgorithmicBase::haveOptionsChanged | ( | uint | idx | ) | const [inline, inherited] |
[in] | idx | Index of option list. |
References Options::haveOptionsChanged(), and AlgorithmicBase::userInteraction.
returnValue RungeKuttaExport::initializeButcherTableau | ( | const Matrix & | _AA, |
const Vector & | _bb, | ||
const Vector & | _cc | ||
) | [inherited] |
References RungeKuttaExport::AA, RungeKuttaExport::bb, RungeKuttaExport::cc, VectorspaceElement::getDim(), Matrix::getNumRows(), VectorspaceElement::isEmpty(), Matrix::isSquare(), RungeKuttaExport::numStages, RET_INVALID_OPTION, and SUCCESSFUL_RETURN.
Referenced by createDiagonallyIRK3Export(), createDiagonallyIRK4Export(), createDiagonallyIRK5Export(), createExplicitEulerExport(), createExplicitRungeKutta2Export(), createExplicitRungeKutta3Export(), createExplicitRungeKutta4Export(), createGaussLegendre2Export(), createGaussLegendre4Export(), createGaussLegendre6Export(), createGaussLegendre8Export(), createRadauIIA1Export(), createRadauIIA3Export(), and createRadauIIA5Export().
returnValue ImplicitRungeKuttaExport::initializeCoefficients | ( | ) | [protected, inherited] |
References RungeKuttaExport::cc, ImplicitRungeKuttaExport::coeffs, ImplicitRungeKuttaExport::computeCombinations(), VectorspaceElement::getDim(), RungeKuttaExport::numStages, SUCCESSFUL_RETURN, and uint.
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), and ImplicitRungeKuttaExport::getCode().
returnValue ImplicitRungeKuttaExport::initializeDDMatrix | ( | ) | [protected, inherited] |
References RungeKuttaExport::cc, ImplicitRungeKuttaExport::DD, RungeKuttaExport::numStages, SUCCESSFUL_RETURN, and uint.
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), and ImplicitRungeKuttaExport::getCode().
FILE * ExportAlgorithm::openFile | ( | const String & | dirName, |
const String & | fileName | ||
) | const [inherited] |
[in] | dirName | Name of directory in which to open the file. |
[in] | fileName | Name of file to be opened. |
[in] | includeCommonHeader | Flag indicating whether common header shall be included. |
References acadoFOpen(), acadoFPrintf(), acadoPrintAutoGenerationNotice(), BT_FALSE, ExportAlgorithm::commonHeaderName, String::getName(), and String::isEmpty().
returnValue AlgorithmicBase::plot | ( | PlotFrequency | _frequency = PLOT_IN_ANY_CASE | ) | [inline, inherited] |
[in] | _frequency | Frequency determining at which time instants the window is to be plotted. |
References Plotting::plot(), and AlgorithmicBase::userInteraction.
returnValue ImplicitRungeKuttaExport::prepareFullRhs | ( | ) | [protected, virtual, inherited] |
Reimplemented from IntegratorExport.
References IntegratorExport::A11, acadoRoundAway(), ExportStatementBlock::addFunctionCall(), ExportStatementBlock::addStatement(), IntegratorExport::B11, IntegratorExport::fullRhs, ExportArgument::getAddress(), IntegratorExport::getNameOutputRHS(), IntegratorExport::getNameRHS(), ExportVariable::getRow(), ExportVariable::getRows(), IntegratorExport::M11, IntegratorExport::M33, ImplicitRungeKuttaExport::NDX2, ExportAlgorithm::NU, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, IntegratorExport::NX3, ExportAlgorithm::NXA, IntegratorExport::rhs_in, IntegratorExport::rhs_out, SUCCESSFUL_RETURN, and uint.
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), and ImplicitRungeKuttaExport::getCode().
returnValue DiagonallyImplicitRKExport::prepareInputSystem | ( | ExportStatementBlock & | code | ) | [virtual, inherited] |
[in] | code | The block to which the code will be exported. |
Reimplemented from ForwardIRKExport.
References IntegratorExport::A11, RungeKuttaExport::AA, ACADO_LOCAL, ExportStatementBlock::addDeclaration(), IntegratorExport::B11, DiagonallyImplicitRKExport::formMatrix(), Grid::getFirstTime(), Grid::getLastTime(), Grid::getNumIntervals(), IntegratorExport::grid, IntegratorExport::M11, ExportAlgorithm::NU, RungeKuttaExport::numStages, IntegratorExport::NX1, ImplicitRungeKuttaExport::rk_dk1, ImplicitRungeKuttaExport::rk_mat1, STATIC_CONST_REAL, SUCCESSFUL_RETURN, uint, and zeros().
returnValue ImplicitRungeKuttaExport::prepareOutputEvaluation | ( | ExportStatementBlock & | code | ) | [protected, inherited] |
[in] | code | The block to which the code will be exported. |
References ExportStatementBlock::addDeclaration(), ImplicitRungeKuttaExport::divideMeasurements(), ImplicitRungeKuttaExport::evaluateDerivedPolynomial(), ImplicitRungeKuttaExport::evaluatePolynomial(), Grid::getFirstTime(), Grid::getLastTime(), Grid::getNumIntervals(), IntegratorExport::grid, MEASUREMENT_GRID, ExportAlgorithm::NDX, ImplicitRungeKuttaExport::numMeasVariables, RungeKuttaExport::numStages, ExportAlgorithm::NXA, OFFLINE_GRID, ONLINE_GRID, IntegratorExport::outputGrids, ImplicitRungeKuttaExport::polynDerVariables, ImplicitRungeKuttaExport::polynVariables, STATIC_CONST_INT, STATIC_CONST_REAL, SUCCESSFUL_RETURN, ImplicitRungeKuttaExport::totalMeas, and uint.
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), and ImplicitRungeKuttaExport::getCode().
returnValue DiagonallyImplicitRKExport::prepareOutputSystem | ( | ExportStatementBlock & | code | ) | [virtual, inherited] |
[in] | code | The block to which the code will be exported. |
Reimplemented from ForwardIRKExport.
References IntegratorExport::A33, RungeKuttaExport::AA, ACADO_LOCAL, ExportStatementBlock::addDeclaration(), DiagonallyImplicitRKExport::formMatrix(), Grid::getFirstTime(), Grid::getLastTime(), Grid::getNumIntervals(), IntegratorExport::grid, IntegratorExport::M33, RungeKuttaExport::numStages, IntegratorExport::NX3, ImplicitRungeKuttaExport::rk_dk3, ImplicitRungeKuttaExport::rk_mat3, STATIC_CONST_REAL, SUCCESSFUL_RETURN, uint, and zeros().
returnValue AlgorithmicBase::printLogRecord | ( | int | idx, |
LogPrintMode | _mode = PRINT_ITEM_BY_ITEM |
||
) | const [inline, inherited] |
[in] | idx | Index of record to be printed. |
[in] | _mode | Print mode: see documentation of LogPrintMode of details. |
References ACADOERROR, LogCollection::getNumLogRecords(), Logging::logCollection, LogCollection::print(), RET_INDEX_OUT_OF_BOUNDS, and AlgorithmicBase::userInteraction.
Referenced by SCPmethod::printIteration(), SCPmethod::printRuntimeProfile(), and Integrator::printRunTimeProfile().
returnValue IntegratorExport::propagateImplicitSystem | ( | ExportStatementBlock * | block, |
const ExportIndex & | index1, | ||
const ExportIndex & | index2, | ||
const ExportIndex & | index3, | ||
const ExportIndex & | tmp_index | ||
) | [virtual, inherited] |
[in] | block | The block to which the code will be exported. |
Reimplemented in NARXExport.
References ExportStatementBlock::addStatement(), ExportVariable::getCol(), ExportVariable::getSubMatrix(), ExportAlgorithm::NU, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, ExportAlgorithm::NXA, IntegratorExport::rk_diffsNew2, IntegratorExport::rk_diffsPrev1, IntegratorExport::rk_diffsPrev2, IntegratorExport::rk_eta, and SUCCESSFUL_RETURN.
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), and DiscreteTimeExport::setup().
returnValue IntegratorExport::propagateInputSystem | ( | ExportStatementBlock * | block, |
const ExportIndex & | index1, | ||
const ExportIndex & | index2, | ||
const ExportIndex & | index3, | ||
const ExportIndex & | tmp_index | ||
) | [virtual, inherited] |
[in] | block | The block to which the code will be exported. |
Reimplemented in NARXExport.
References ExportStatementBlock::addStatement(), ExportVariable::getCol(), ExportVariable::getSubMatrix(), ExportAlgorithm::NU, ExportAlgorithm::NX, IntegratorExport::NX1, ExportAlgorithm::NXA, IntegratorExport::rk_diffsNew1, IntegratorExport::rk_diffsPrev1, IntegratorExport::rk_eta, and SUCCESSFUL_RETURN.
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), and DiscreteTimeExport::setup().
returnValue ForwardIRKExport::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 | ||
) | [protected, virtual, inherited] |
[in] | block | The block to which the code will be exported. |
[in] | tmp_meas | The number of measurements in the current integration step (in case of an online grid). |
References ExportStatementBlock::addStatement(), ExportVariable::get(), ExportVariable::getCol(), IntegratorExport::getDimOUTPUT(), ExportData::getName(), ExportVariable::getSubMatrix(), MEASUREMENT_GRID, ExportAlgorithm::NU, ImplicitRungeKuttaExport::numMeas, ImplicitRungeKuttaExport::numMeasVariables, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, OFFLINE_GRID, ImplicitRungeKuttaExport::rk_diffsOutputTemp, IntegratorExport::rk_diffsPrev1, IntegratorExport::rk_diffsPrev2, IntegratorExport::rk_diffsPrev3, ImplicitRungeKuttaExport::rk_outputs, SUCCESSFUL_RETURN, and uint.
Referenced by ForwardIRKExport::getCode().
returnValue IntegratorExport::propagateOutputSystem | ( | ExportStatementBlock * | block, |
const ExportIndex & | index1, | ||
const ExportIndex & | index2, | ||
const ExportIndex & | index3, | ||
const ExportIndex & | tmp_index | ||
) | [virtual, inherited] |
[in] | block | The block to which the code will be exported. |
Reimplemented in NARXExport.
References ExportStatementBlock::addStatement(), ExportVariable::getCol(), ExportVariable::getSubMatrix(), ExportAlgorithm::NU, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, IntegratorExport::NX3, ExportAlgorithm::NXA, IntegratorExport::rk_diffsNew3, IntegratorExport::rk_diffsPrev1, IntegratorExport::rk_diffsPrev2, IntegratorExport::rk_diffsPrev3, IntegratorExport::rk_eta, and SUCCESSFUL_RETURN.
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), and DiscreteTimeExport::setup().
returnValue AlgorithmicBase::replot | ( | PlotFrequency | _frequency = PLOT_IN_ANY_CASE | ) | [inline, inherited] |
[in] | _frequency | Frequency determining at which time instants the window is to be plotted. |
References Plotting::replot(), and AlgorithmicBase::userInteraction.
Referenced by SCPmethod::printIteration(), SCPmethod::solve(), and SCPmethod::step().
returnValue DiagonallyImplicitRKExport::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, | ||
BooleanType | STATES, | ||
uint | number | ||
) | [virtual, inherited] |
[in] | block | The block to which the code will be exported. |
[in] | Ah | The variable containing the internal coefficients of the RK method, multiplied with the step size. |
[in] | Bh | The variable containing the weights of the RK method, multiplied with the step size. |
[in] | det | The variable that holds the determinant of the matrix in the linear system. |
[in] | STATES | True if the sensitivities with respect to a state are needed, false otherwise. |
[in] | number | This number defines the stage of the state with respect to which the sensitivities are computed. |
Reimplemented from ForwardIRKExport.
References ExportStatementBlock::addFunctionCall(), ExportStatementBlock::addStatement(), BT_FALSE, ImplicitRungeKuttaExport::evaluateDerivedPolynomial(), ExportVariable::get(), ExportArgument::getAddress(), ExportData::getFullName(), ExportData::getName(), ExportLinearSolver::getNameSolveFunction(), ExportLinearSolver::getNameSolveReuseFunction(), Matrix::getRow(), ExportVariable::getRow(), ExportVariable::getRows(), ExportVariable::getSubMatrix(), ImplicitRungeKuttaExport::NDX2, RungeKuttaExport::numStages, ImplicitRungeKuttaExport::NVARS2, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, ExportAlgorithm::NXA, ImplicitRungeKuttaExport::rk_A, ImplicitRungeKuttaExport::rk_auxSolver, ImplicitRungeKuttaExport::rk_b, ImplicitRungeKuttaExport::rk_diffK, IntegratorExport::rk_diffsNew2, IntegratorExport::rk_diffsTemp2, ImplicitRungeKuttaExport::rk_rhsTemp, ImplicitRungeKuttaExport::solver, SUCCESSFUL_RETURN, uint, and zeros().
returnValue ForwardIRKExport::sensitivitiesInputSystem | ( | ExportStatementBlock * | block, |
const ExportIndex & | index1, | ||
const ExportIndex & | index2, | ||
const ExportVariable & | Bh, | ||
BooleanType | STATES | ||
) | [protected, virtual, inherited] |
[in] | block | The block to which the code will be exported. |
[in] | Bh | The variable containing the weights of the RK method, multiplied with the step size. |
[in] | STATES | True if the sensitivities with respect to a state are needed, false otherwise. |
Implements RKSensitivitiesExport.
References ExportStatementBlock::addStatement(), IntegratorExport::equidistantControlGrid(), ExportVariable::get(), ExportData::getName(), Grid::getNumIntervals(), ExportVariable::getRow(), ExportVariable::getRows(), ExportVariable::getSubMatrix(), IntegratorExport::grid, IntegratorExport::NX1, ImplicitRungeKuttaExport::rk_diffK, IntegratorExport::rk_diffsNew1, ImplicitRungeKuttaExport::rk_dk1, and SUCCESSFUL_RETURN.
Referenced by ForwardIRKExport::getCode().
returnValue ForwardIRKExport::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, | ||
BooleanType | STATES, | ||
uint | base | ||
) | [protected, virtual, inherited] |
[in] | block | The block to which the code will be exported. |
[in] | tmp_meas | The number of measurements in the current integration step (in case of an online grid). |
[in] | rk_tPrev | The time point, defining the beginning of the current integration step (in case of an online grid). |
[in] | time_tmp | A variable used for time transformations (in case of an online grid). |
[in] | STATES | True if the sensitivities with respect to a state are needed, false otherwise. |
[in] | base | The number of states in stages with respect to which the sensitivities have already been computed. |
Implements RKSensitivitiesExport.
References acadoRoundAway(), ExportStatementBlock::addFunctionCall(), ExportStatementBlock::addStatement(), IntegratorExport::crsFormat, IntegratorExport::diffsDim, ImplicitRungeKuttaExport::evaluateDerivedPolynomial(), ImplicitRungeKuttaExport::evaluatePolynomial(), IntegratorExport::exportRhs, ExportVariable::get(), ExportArgument::getAddress(), ExportVariable::getCol(), IntegratorExport::getDimOUTPUT(), Grid::getFirstTime(), Grid::getLastTime(), ExportData::getName(), IntegratorExport::getNameDiffsOUTPUT(), Grid::getNumIntervals(), ExportVariable::getRow(), ExportVariable::getRows(), IntegratorExport::grid, ImplicitRungeKuttaExport::gridVariables, IntegratorExport::inputDim, MEASUREMENT_GRID, ExportAlgorithm::NDX, ExportAlgorithm::NU, ImplicitRungeKuttaExport::numDX_output, ImplicitRungeKuttaExport::numMeas, ImplicitRungeKuttaExport::numMeasVariables, RungeKuttaExport::numStages, ImplicitRungeKuttaExport::numVARS_output, ImplicitRungeKuttaExport::numXA_output, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, ExportAlgorithm::NXA, OFFLINE_GRID, IntegratorExport::outputDependencies, ImplicitRungeKuttaExport::polynDerVariables, ImplicitRungeKuttaExport::polynVariables, ImplicitRungeKuttaExport::rk_diffK, ImplicitRungeKuttaExport::rk_diffsOutputTemp, IntegratorExport::rk_eta, RungeKuttaExport::rk_kkk, ImplicitRungeKuttaExport::rk_out, ImplicitRungeKuttaExport::rk_outH, ImplicitRungeKuttaExport::rk_outputs, ImplicitRungeKuttaExport::rk_rhsTemp, IntegratorExport::rk_xxx, SUCCESSFUL_RETURN, sumRow(), and uint.
Referenced by ForwardIRKExport::getCode().
returnValue DiagonallyImplicitRKExport::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, | ||
BooleanType | STATES, | ||
uint | number | ||
) | [virtual, inherited] |
[in] | block | The block to which the code will be exported. |
[in] | Ah | The variable containing the internal coefficients of the RK method, multiplied with the step size. |
[in] | Bh | The variable containing the weights of the RK method, multiplied with the step size. |
[in] | STATES | True if the sensitivities with respect to a state are needed, false otherwise. |
[in] | number | This number defines the stage of the state with respect to which the sensitivities are computed. |
Reimplemented from ForwardIRKExport.
References IntegratorExport::A33, acadoRoundAway(), ExportStatementBlock::addStatement(), IntegratorExport::equidistantControlGrid(), ExportVariable::get(), ExportData::getName(), Grid::getNumIntervals(), ExportVariable::getRow(), ExportVariable::getRows(), ExportVariable::getSubMatrix(), IntegratorExport::grid, IntegratorExport::NDX3, RungeKuttaExport::numStages, ImplicitRungeKuttaExport::NVARS3, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, IntegratorExport::NX3, ExportAlgorithm::NXA, IntegratorExport::NXA3, ImplicitRungeKuttaExport::rk_b, ImplicitRungeKuttaExport::rk_diffK, IntegratorExport::rk_diffsNew3, ImplicitRungeKuttaExport::rk_diffsTemp3, ImplicitRungeKuttaExport::rk_dk3, ImplicitRungeKuttaExport::rk_mat3, ImplicitRungeKuttaExport::rk_rhsTemp, SUCCESSFUL_RETURN, and uint.
returnValue AlgorithmicBase::set | ( | OptionsName | name, |
int | value | ||
) | [inherited] |
[in] | name | Name of option item. |
[in] | value | New value of option. |
References Options::set(), and AlgorithmicBase::userInteraction.
Referenced by SCPmethod::initializeHessianProjection().
returnValue AlgorithmicBase::set | ( | OptionsName | name, |
double | value | ||
) | [inherited] |
[in] | name | Name of option item. |
[in] | value | New value of option. |
References Options::set(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::set | ( | uint | idx, |
OptionsName | name, | ||
int | value | ||
) | [inherited] |
[in] | idx | Index of option list. |
[in] | name | Name of option item. |
[in] | value | New value of option. |
References Options::set(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::set | ( | uint | idx, |
OptionsName | name, | ||
double | value | ||
) | [inherited] |
[in] | idx | Index of option list. |
[in] | name | Name of option item. |
[in] | value | New value of option. |
References Options::set(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::setAll | ( | LogName | _name, |
const MatrixVariablesGrid & | values | ||
) | [inline, inherited] |
[in] | _name | Internal name of item. |
[in] | values | All numerical values at all time instants of given item. |
References Logging::logCollection, LogCollection::setAll(), and AlgorithmicBase::userInteraction.
returnValue ImplicitRungeKuttaExport::setDifferentialEquation | ( | const Expression & | rhs | ) | [virtual, inherited] |
[in] | rhs | Right-hand side expression. |
Implements RungeKuttaExport.
References ACADOERROR, BT_TRUE, Control::clearStaticCounters(), AlgebraicState::clearStaticCounters(), Parameter::clearStaticCounters(), DifferentialStateDerivative::clearStaticCounters(), DifferentialState::clearStaticCounters(), IntegratorExport::diffs_rhs, IntegratorExport::dx, forwardDerivative(), Expression::getDim(), Function::getNDX(), Function::getNT(), ExportAcadoFunction::init(), ExportAlgorithm::NDX, ImplicitRungeKuttaExport::NDX2, ExportAlgorithm::NP, ExportAlgorithm::NU, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, ExportAlgorithm::NXA, IntegratorExport::p, RET_INVALID_OPTION, IntegratorExport::rhs, SUCCESSFUL_RETURN, IntegratorExport::timeDependant, IntegratorExport::u, uint, IntegratorExport::x, and IntegratorExport::z.
returnValue ExportAlgorithm::setDimensions | ( | uint | _NX = 0 , |
uint | _NU = 0 , |
||
uint | _NP = 0 , |
||
uint | _NI = 0 |
||
) | [inherited] |
[in] | _NX | New number of differential states. |
[in] | _NU | New number of control inputs. |
[in] | _NP | New number of parameters. |
[in] | _NI | New number of control intervals. (using _N resulted in a strange error when compiling with cygwin!) |
Referenced by ExportAlgorithm::ExportAlgorithm(), and IntegratorExport::setModelData().
returnValue ExportAlgorithm::setDimensions | ( | uint | _NX, |
uint | _NDX, | ||
uint | _NXA, | ||
uint | _NU, | ||
uint | _NP, | ||
uint | _NI | ||
) | [inherited] |
[in] | _NX | New number of differential states. |
[in] | _NDX | New number of differential states derivatives. |
[in] | _NXA | New number of algebraic states. |
[in] | _NU | New number of control inputs. |
[in] | _NP | New number of parameters. |
[in] | _NI | New number of control intervals. (using _N resulted in a strange error when compiling with cygwin!) |
References ExportAlgorithm::N, ExportAlgorithm::NDX, ExportAlgorithm::NP, ExportAlgorithm::NU, ExportAlgorithm::NX, ExportAlgorithm::NXA, and SUCCESSFUL_RETURN.
returnValue IntegratorExport::setGrid | ( | const Grid & | _grid | ) | [virtual, inherited] |
[in] | _grid | integration grid |
References IntegratorExport::grid, and SUCCESSFUL_RETURN.
returnValue AlgorithmicBase::setLast | ( | LogName | _name, |
int | lastValue, | ||
double | time = -INFTY |
||
) | [inline, inherited] |
[in] | _name | Internal name of item. |
[in] | lastValue | Numerical value at last time instant of given item. |
[in] | time | Time label of the instant. |
References Logging::logCollection, LogCollection::setLast(), and AlgorithmicBase::userInteraction.
Referenced by IntegratorBDF::evaluate(), IntegratorRK::evaluate(), IntegratorLYAPUNOV::evaluate(), CondensingBasedCPsolver::finalizeSolve(), IntegratorBDF::logCurrentIntegratorStep(), ShootingMethod::logTrajectory(), SCPmethod::performCurrentStep(), SCPstepLinesearch::performLineSearch(), SCPstepFullstep::performStep(), SCPstepLinesearch::performStep(), SCPmethod::prepareNextStep(), CondensingBasedCPsolver::prepareSolve(), SCPmethod::printIteration(), QPsolver_qpOASES::solve(), CondensingBasedCPsolver::solveCPsubproblem(), and SCPmethod::stopClockAndPrintRuntimeProfile().
returnValue AlgorithmicBase::setLast | ( | LogName | _name, |
double | lastValue, | ||
double | time = -INFTY |
||
) | [inline, inherited] |
[in] | _name | Internal name of item. |
[in] | lastValue | Numerical value at last time instant of given item. |
[in] | time | Time label of the instant. |
References Logging::logCollection, LogCollection::setLast(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::setLast | ( | LogName | _name, |
const Vector & | lastValue, | ||
double | time = -INFTY |
||
) | [inline, inherited] |
[in] | _name | Internal name of item. |
[in] | lastValue | Numerical value at last time instant of given item. |
[in] | time | Time label of the instant. |
References Logging::logCollection, LogCollection::setLast(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::setLast | ( | LogName | _name, |
const Matrix & | lastValue, | ||
double | time = -INFTY |
||
) | [inline, inherited] |
[in] | _name | Internal name of item. |
[in] | lastValue | Numerical value at last time instant of given item. |
[in] | time | Time label of the instant. |
References Logging::logCollection, LogCollection::setLast(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::setLast | ( | LogName | _name, |
const VariablesGrid & | lastValue, | ||
double | time = -INFTY |
||
) | [inline, inherited] |
[in] | _name | Internal name of item. |
[in] | lastValue | Numerical value at last time instant of given item. |
[in] | time | Time label of the instant. |
References Logging::logCollection, LogCollection::setLast(), and AlgorithmicBase::userInteraction.
returnValue IntegratorExport::setLinearInput | ( | const Matrix & | M1, |
const Matrix & | A1, | ||
const Matrix & | B1 | ||
) | [virtual, inherited] |
[in] | . |
Reimplemented in ExplicitRungeKuttaExport.
References IntegratorExport::A11, IntegratorExport::B11, Control::clearStaticCounters(), Parameter::clearStaticCounters(), DifferentialState::clearStaticCounters(), Matrix::getNumCols(), Matrix::getNumRows(), ExportAcadoFunction::init(), VectorspaceElement::isEmpty(), IntegratorExport::lin_input, IntegratorExport::M11, ExportAlgorithm::NP, ExportAlgorithm::NU, ExportAlgorithm::NX, IntegratorExport::NX1, ExportAlgorithm::NXA, IntegratorExport::p, RET_UNABLE_TO_EXPORT_CODE, SUCCESSFUL_RETURN, IntegratorExport::u, and IntegratorExport::x.
Referenced by IntegratorExport::setModelData().
returnValue IntegratorExport::setLinearOutput | ( | const Matrix & | M3, |
const Matrix & | A3, | ||
const Expression & | rhs | ||
) | [virtual, inherited] |
[in] | . |
Reimplemented in NARXExport, and ExplicitRungeKuttaExport.
References IntegratorExport::A33, ACADOERROR, acadoRoundAway(), Control::clearStaticCounters(), AlgebraicState::clearStaticCounters(), Parameter::clearStaticCounters(), DifferentialStateDerivative::clearStaticCounters(), DifferentialState::clearStaticCounters(), IntegratorExport::diffs_rhs3, IntegratorExport::dx, IntegratorExport::expandOutputMatrix(), forwardDerivative(), Expression::getDim(), Function::getNDX(), Matrix::getNumCols(), Matrix::getNumRows(), Function::getNXA(), ExportAcadoFunction::init(), VectorspaceElement::isEmpty(), IntegratorExport::M33, IntegratorExport::NDX3, ExportAlgorithm::NP, ExportAlgorithm::NU, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, IntegratorExport::NX3, ExportAlgorithm::NXA, IntegratorExport::NXA3, IntegratorExport::p, RET_INVALID_OPTION, RET_UNABLE_TO_EXPORT_CODE, IntegratorExport::rhs3, SUCCESSFUL_RETURN, sumRow(), IntegratorExport::u, uint, IntegratorExport::x, and IntegratorExport::z.
Referenced by IntegratorExport::setModelData().
returnValue IntegratorExport::setLinearOutput | ( | const Matrix & | M3, |
const Matrix & | A3, | ||
const String & | _rhs3, | ||
const String & | _diffs_rhs3 | ||
) | [virtual, inherited] |
[in] | . |
Reimplemented in NARXExport, and ExplicitRungeKuttaExport.
References IntegratorExport::A33, BT_FALSE, Control::clearStaticCounters(), AlgebraicState::clearStaticCounters(), DifferentialStateDerivative::clearStaticCounters(), Parameter::clearStaticCounters(), DifferentialState::clearStaticCounters(), IntegratorExport::dx, IntegratorExport::exportRhs, Matrix::getNumCols(), Matrix::getNumRows(), VectorspaceElement::isEmpty(), IntegratorExport::M33, IntegratorExport::name_diffs_rhs3, IntegratorExport::name_rhs3, ExportAlgorithm::NDX, ExportAlgorithm::NP, ExportAlgorithm::NU, ExportAlgorithm::NX, IntegratorExport::NX3, ExportAlgorithm::NXA, IntegratorExport::p, RET_UNABLE_TO_EXPORT_CODE, SUCCESSFUL_RETURN, IntegratorExport::u, IntegratorExport::x, and IntegratorExport::z.
returnValue ImplicitRungeKuttaExport::setModel | ( | const String & | _rhs, |
const String & | _diffs_rhs | ||
) | [virtual, inherited] |
[in] | _rhs | Name of the function, evaluating the right-hand side. |
[in] | _diffs_rhs | Name of the function, evaluating the derivatives of the right-hand side. |
Reimplemented from IntegratorExport.
References ExportAlgorithm::NDX, ImplicitRungeKuttaExport::NDX2, ImplicitRungeKuttaExport::setup(), and SUCCESSFUL_RETURN.
returnValue IntegratorExport::setModelData | ( | const ModelData & | data | ) | [virtual, inherited] |
[in] | data | The model data. |
References ModelData::exportRhs(), IntegratorExport::exportRhs, Function::getDim(), ModelData::getDimOutputs(), Function::getExpression(), ModelData::getIntegrationGrid(), ModelData::getLinearInput(), ModelData::getLinearOutput(), ModelData::getModel(), ModelData::getN(), ModelData::getNameDiffsOutput(), ModelData::getNameDiffsOutputs(), ModelData::getNameDiffsRhs(), ModelData::getNameOutput(), ModelData::getNameOutputs(), ModelData::getNameRhs(), ModelData::getNARXmodel(), ModelData::getNDX(), ModelData::getNDX3(), ModelData::getNP(), ModelData::getNU(), Matrix::getNumRows(), ModelData::getNumSteps(), ModelData::getNX(), ModelData::getNX1(), ModelData::getNX2(), ModelData::getNX3(), ModelData::getNXA(), ModelData::getNXA3(), ModelData::getOutputDependencies(), ModelData::getOutputExpressions(), ModelData::getOutputGrids(), IntegratorExport::grid, ModelData::hasCompressedStorage(), ModelData::hasOutputs(), VectorspaceElement::isEmpty(), IntegratorExport::NDX3, IntegratorExport::numSteps, IntegratorExport::NX1, IntegratorExport::NX2, IntegratorExport::NX3, IntegratorExport::NXA3, RET_UNABLE_TO_EXPORT_CODE, IntegratorExport::setDifferentialEquation(), ExportAlgorithm::setDimensions(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), IntegratorExport::setModel(), IntegratorExport::setNARXmodel(), IntegratorExport::setup(), IntegratorExport::setupOutput(), SUCCESSFUL_RETURN, and uint.
Referenced by SIMexport::setup().
returnValue RungeKuttaExport::setNARXmodel | ( | const uint | delay, |
const Matrix & | parms | ||
) | [virtual, inherited] |
[in] | delay | The delay for the states in the NARX model. |
[in] | parms | The parameters defining the polynomial NARX model. |
Implements IntegratorExport.
References RET_INVALID_OPTION.
void ExportAlgorithm::setNY | ( | uint | NY_ | ) | [inherited] |
References ExportAlgorithm::NY.
Referenced by ExportNLPSolver::setObjective().
void ExportAlgorithm::setNYN | ( | uint | NYN_ | ) | [inherited] |
References ExportAlgorithm::NYN.
Referenced by ExportNLPSolver::setObjective().
returnValue AlgorithmicBase::setOptions | ( | const Options & | arg | ) | [inherited] |
[in] | arg | New Options object to be assigned. |
References Options::setOptions(), and AlgorithmicBase::userInteraction.
Referenced by ShootingMethod::evaluate().
returnValue AlgorithmicBase::setOptions | ( | uint | idx, |
const Options & | arg | ||
) | [inherited] |
[in] | idx | Index of option list. |
[in] | arg | Options object containing the option list to be assigned. |
References Options::setOptions(), and AlgorithmicBase::userInteraction.
returnValue DiagonallyImplicitRKExport::setup | ( | ) | [virtual, inherited] |
Reimplemented from ForwardIRKExport.
References ACADO_LOCAL, ACADO_VARIABLES, ACADO_WORKSPACE, ACADOERROR, BT_TRUE, CG_USE_OPENMP, ImplicitRungeKuttaExport::debug_mat, ExportLinearSolver::getGlobalExportVariable(), ExportLinearSolver::init(), INTEGRATOR_DEBUG_MODE, RungeKuttaExport::numStages, IntegratorExport::NX1, IntegratorExport::NX2, IntegratorExport::NX3, ExportAlgorithm::NXA, REAL, RET_INVALID_OPTION, ImplicitRungeKuttaExport::rk_A, ImplicitRungeKuttaExport::rk_auxSolver, ImplicitRungeKuttaExport::rk_b, ExportLinearSolver::setup(), ImplicitRungeKuttaExport::solver, and uint.
returnValue ImplicitRungeKuttaExport::setupOutput | ( | const std::vector< Grid > | outputGrids_, |
const std::vector< Expression > | rhs | ||
) | [virtual, inherited] |
outputGrids_ | The vector containing a grid for each output function. |
rhs | The expressions corresponding the output functions. |
Implements RungeKuttaExport.
References ACADO_LOCAL, ACADO_VARIABLES, ACADO_WORKSPACE, ACADOERROR, Matrix::appendCols(), BT_TRUE, CG_USE_OPENMP, ImplicitRungeKuttaExport::CONTINUOUS_OUTPUT, IntegratorExport::diffs_outputs, IntegratorExport::dx, DYNAMIC_SENSITIVITY, forwardDerivative(), Function::getNDX(), Function::getNXA(), ImplicitRungeKuttaExport::gridVariables, ExportAcadoFunction::init(), MEASUREMENT_GRID, ExportAlgorithm::NDX, NO_SENSITIVITY, ExportAlgorithm::NU, ImplicitRungeKuttaExport::numDX_output, RungeKuttaExport::numStages, ImplicitRungeKuttaExport::numVARS_output, ImplicitRungeKuttaExport::numXA_output, ExportAlgorithm::NX, ExportAlgorithm::NXA, IntegratorExport::outputDependencies, IntegratorExport::outputExpressions, IntegratorExport::outputGrids, IntegratorExport::outputs, ImplicitRungeKuttaExport::polynEvalVar, REAL, RET_INVALID_ARGUMENTS, ImplicitRungeKuttaExport::rk_diffsOutputTemp, ImplicitRungeKuttaExport::rk_out, ImplicitRungeKuttaExport::rk_outH, ImplicitRungeKuttaExport::rk_outputs, ImplicitRungeKuttaExport::rk_rhsOutputTemp, ImplicitRungeKuttaExport::setup(), SUCCESSFUL_RETURN, ImplicitRungeKuttaExport::totalMeas, IntegratorExport::u, uint, IntegratorExport::x, and IntegratorExport::z.
Referenced by ImplicitRungeKuttaExport::setupOutput().
returnValue ImplicitRungeKuttaExport::setupOutput | ( | const std::vector< Grid > | outputGrids_, |
const std::vector< String > | _outputNames, | ||
const std::vector< String > | _diffs_outputNames, | ||
const std::vector< uint > | _dims_output | ||
) | [virtual, inherited] |
outputGrids_ | The vector containing a grid for each output function. |
_outputNames | The names of the output functions. |
_diffs_outputNames | The names of the functions, evaluating the derivatives of the outputs. |
_dims_output | The dimensions of the output functions. |
Implements IntegratorExport.
References ACADO_LOCAL, ACADO_VARIABLES, ACADO_WORKSPACE, ACADOERROR, BT_FALSE, BT_TRUE, CG_USE_OPENMP, ImplicitRungeKuttaExport::CONTINUOUS_OUTPUT, IntegratorExport::diffs_outputs, DYNAMIC_SENSITIVITY, IntegratorExport::exportRhs, ExportAcadoFunction::getFunctionDim(), ImplicitRungeKuttaExport::gridVariables, MEASUREMENT_GRID, IntegratorExport::name_diffs_outputs, IntegratorExport::name_outputs, ExportAlgorithm::NDX, NO_SENSITIVITY, ExportAlgorithm::NU, IntegratorExport::num_outputs, ImplicitRungeKuttaExport::numDX_output, RungeKuttaExport::numStages, ImplicitRungeKuttaExport::numVARS_output, ImplicitRungeKuttaExport::numXA_output, ExportAlgorithm::NX, ExportAlgorithm::NXA, IntegratorExport::outputGrids, IntegratorExport::outputs, ImplicitRungeKuttaExport::polynEvalVar, REAL, RET_INVALID_ARGUMENTS, RET_INVALID_OPTION, IntegratorExport::rhs, ImplicitRungeKuttaExport::rk_diffsOutputTemp, ImplicitRungeKuttaExport::rk_out, ImplicitRungeKuttaExport::rk_outH, ImplicitRungeKuttaExport::rk_outputs, ImplicitRungeKuttaExport::rk_rhsOutputTemp, ImplicitRungeKuttaExport::setup(), SUCCESSFUL_RETURN, ImplicitRungeKuttaExport::totalMeas, and uint.
returnValue ImplicitRungeKuttaExport::setupOutput | ( | const std::vector< Grid > | outputGrids_, |
const std::vector< String > | _outputNames, | ||
const std::vector< String > | _diffs_outputNames, | ||
const std::vector< uint > | _dims_output, | ||
const std::vector< Matrix > | _outputDependencies | ||
) | [virtual, inherited] |
outputGrids_ | The vector containing a grid for each output function. |
_outputNames | The names of the output functions. |
_diffs_outputNames | The names of the functions, evaluating the derivatives of the outputs. |
_dims_output | The dimensions of the output functions. |
_outputDependencies | A separate dependency matrix for each output. |
Implements IntegratorExport.
References BT_TRUE, IntegratorExport::crsFormat, IntegratorExport::outputDependencies, and ImplicitRungeKuttaExport::setupOutput().
returnValue DiagonallyImplicitRKExport::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, | ||
BooleanType | DERIVATIVES = BT_FALSE |
||
) | [virtual, inherited] |
[in] | block | The block to which the code will be exported. |
[in] | Ah | The variable containing the internal coefficients of the RK method, multiplied with the step size. |
[in] | det | The variable that holds the determinant of the matrix in the linear system. |
Reimplemented from ImplicitRungeKuttaExport.
References ExportStatementBlock::addFunctionCall(), ExportStatementBlock::addStatement(), BT_FALSE, BT_TRUE, ImplicitRungeKuttaExport::debug_mat, DiagonallyImplicitRKExport::evaluateMatrix(), DiagonallyImplicitRKExport::evaluateRhsImplicitSystem(), DiagonallyImplicitRKExport::evaluateStatesImplicitSystem(), ExportVariable::get(), ExportArgument::getAddress(), ExportData::getFullName(), ExportLinearSolver::getNameSolveFunction(), ExportLinearSolver::getNameSolveReuseFunction(), ExportVariable::getRows(), ExportVariable::getSubMatrix(), INTEGRATOR_DEBUG_MODE, ImplicitRungeKuttaExport::numIts, ImplicitRungeKuttaExport::numItsInit, RungeKuttaExport::numStages, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, ExportAlgorithm::NXA, IntegratorExport::reset_int, ImplicitRungeKuttaExport::REUSE, ImplicitRungeKuttaExport::rk_A, ImplicitRungeKuttaExport::rk_auxSolver, ImplicitRungeKuttaExport::rk_b, RungeKuttaExport::rk_kkk, ImplicitRungeKuttaExport::solver, and SUCCESSFUL_RETURN.
returnValue DiagonallyImplicitRKExport::solveInputSystem | ( | ExportStatementBlock * | block, |
const ExportIndex & | index1, | ||
const ExportIndex & | index2, | ||
const ExportIndex & | index3, | ||
const ExportIndex & | tmp_index, | ||
const ExportVariable & | Ah | ||
) | [virtual, inherited] |
[in] | block | The block to which the code will be exported. |
[in] | A1 | A constant matrix defining the equations of the linear input system. |
[in] | B1 | A constant matrix defining the equations of the linear input system. |
[in] | Ah | The variable containing the internal coefficients of the RK method, multiplied with the step size. |
Reimplemented from ImplicitRungeKuttaExport.
References ExportStatementBlock::addFunctionCall(), ExportStatementBlock::addStatement(), ExportArgument::getAddress(), ExportVariable::getCol(), ExportVariable::getCols(), ExportFunction::getName(), ExportVariable::getRow(), ExportVariable::getSubMatrix(), IntegratorExport::lin_input, RungeKuttaExport::numStages, IntegratorExport::NX1, ImplicitRungeKuttaExport::rk_b, IntegratorExport::rk_eta, RungeKuttaExport::rk_kkk, ImplicitRungeKuttaExport::rk_mat1, IntegratorExport::rk_xxx, and SUCCESSFUL_RETURN.
returnValue DiagonallyImplicitRKExport::solveOutputSystem | ( | ExportStatementBlock * | block, |
const ExportIndex & | index1, | ||
const ExportIndex & | index2, | ||
const ExportIndex & | index3, | ||
const ExportIndex & | tmp_index, | ||
const ExportVariable & | Ah, | ||
BooleanType | DERIVATIVES = BT_FALSE |
||
) | [virtual, inherited] |
[in] | block | The block to which the code will be exported. |
[in] | Ah | The variable containing the internal coefficients of the RK method, multiplied with the step size. |
[in] | A3 | A constant matrix defining the equations of the linear output system. |
Reimplemented from ImplicitRungeKuttaExport.
References ExportStatementBlock::addFunctionCall(), ExportStatementBlock::addStatement(), ImplicitRungeKuttaExport::evaluateStatesOutputSystem(), ExportArgument::getAddress(), ExportVariable::getCol(), IntegratorExport::getNameOutputDiffs(), IntegratorExport::getNameOutputRHS(), ExportVariable::getRow(), ExportVariable::getSubMatrix(), RungeKuttaExport::numStages, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, IntegratorExport::NX3, ImplicitRungeKuttaExport::rk_b, ImplicitRungeKuttaExport::rk_diffsTemp3, RungeKuttaExport::rk_kkk, ImplicitRungeKuttaExport::rk_mat3, IntegratorExport::rk_xxx, and SUCCESSFUL_RETURN.
returnValue IntegratorExport::updateImplicitSystem | ( | ExportStatementBlock * | block, |
const ExportIndex & | index1, | ||
const ExportIndex & | index2, | ||
const ExportIndex & | tmp_index | ||
) | [virtual, inherited] |
[in] | block | The block to which the code will be exported. |
Reimplemented in NARXExport.
References ExportStatementBlock::addStatement(), ExportVariable::getCol(), ExportVariable::getSubMatrix(), ExportAlgorithm::NU, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, IntegratorExport::NX3, ExportAlgorithm::NXA, IntegratorExport::rk_diffsNew2, IntegratorExport::rk_eta, and SUCCESSFUL_RETURN.
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), and DiscreteTimeExport::setup().
returnValue IntegratorExport::updateInputSystem | ( | ExportStatementBlock * | block, |
const ExportIndex & | index1, | ||
const ExportIndex & | index2, | ||
const ExportIndex & | tmp_index | ||
) | [virtual, inherited] |
[in] | block | The block to which the code will be exported. |
Reimplemented in NARXExport.
References ExportStatementBlock::addStatement(), ExportVariable::getCol(), ExportVariable::getSubMatrix(), ExportAlgorithm::NU, ExportAlgorithm::NX, IntegratorExport::NX1, ExportAlgorithm::NXA, IntegratorExport::rk_diffsNew1, IntegratorExport::rk_eta, and SUCCESSFUL_RETURN.
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), and DiscreteTimeExport::setup().
returnValue IntegratorExport::updateOutputSystem | ( | ExportStatementBlock * | block, |
const ExportIndex & | index1, | ||
const ExportIndex & | index2, | ||
const ExportIndex & | tmp_index | ||
) | [virtual, inherited] |
[in] | block | The block to which the code will be exported. |
Reimplemented in NARXExport.
References ExportStatementBlock::addStatement(), ExportVariable::getCol(), ExportVariable::getSubMatrix(), ExportAlgorithm::NU, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, IntegratorExport::NX3, ExportAlgorithm::NXA, IntegratorExport::rk_diffsNew3, IntegratorExport::rk_eta, and SUCCESSFUL_RETURN.
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), and DiscreteTimeExport::setup().
Matrix IntegratorExport::A11 [protected, inherited] |
Referenced by NARXExport::prepareFullRhs(), IntegratorExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareFullRhs(), DiagonallyImplicitRKExport::prepareInputSystem(), ForwardIRKExport::prepareInputSystem(), AdjointIRKExport::prepareInputSystem(), ImplicitRungeKuttaExport::prepareInputSystem(), IntegratorExport::setLinearInput(), NARXExport::setup(), and DiscreteTimeExport::setup().
Matrix IntegratorExport::A33 [protected, inherited] |
Referenced by AdjointIRKExport::prepareOutputSystem(), ForwardIRKExport::prepareOutputSystem(), DiagonallyImplicitRKExport::prepareOutputSystem(), ImplicitRungeKuttaExport::prepareOutputSystem(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), NARXExport::setup(), and DiscreteTimeExport::setup().
Matrix RungeKuttaExport::AA [protected, inherited] |
Referenced by RungeKuttaExport::copy(), DiagonallyImplicitRKExport::formMatrix(), ImplicitRungeKuttaExport::formMatrix(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), RungeKuttaExport::initializeButcherTableau(), DiagonallyImplicitRKExport::prepareInputSystem(), DiagonallyImplicitRKExport::prepareOutputSystem(), and ExplicitRungeKuttaExport::setup().
Matrix IntegratorExport::B11 [protected, inherited] |
Referenced by NARXExport::prepareFullRhs(), IntegratorExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareFullRhs(), DiagonallyImplicitRKExport::prepareInputSystem(), AdjointIRKExport::prepareInputSystem(), ForwardIRKExport::prepareInputSystem(), IntegratorExport::setLinearInput(), NARXExport::setup(), and DiscreteTimeExport::setup().
Vector RungeKuttaExport::bb [protected, inherited] |
Vector RungeKuttaExport::cc [protected, inherited] |
Referenced by RungeKuttaExport::copy(), ImplicitRungeKuttaExport::evaluateDerivedPolynomial(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), RungeKuttaExport::initializeButcherTableau(), ImplicitRungeKuttaExport::initializeCoefficients(), ImplicitRungeKuttaExport::initializeDDMatrix(), and ExplicitRungeKuttaExport::setup().
Matrix ImplicitRungeKuttaExport::coeffs [protected, inherited] |
String ExportAlgorithm::commonHeaderName [protected, inherited] |
Referenced by ExportAlgorithm::copy(), ExportAlgorithm::ExportAlgorithm(), ExportAlgorithm::openFile(), ImplicitRungeKuttaExport::setup(), ExportGaussNewtonQpDunes::setupQPInterface(), ExportGaussNewtonCN2::setupQPInterface(), ExportGaussNewtonForces::setupQPInterface(), and ExportGaussNewtonCondensed::setupQPInterface().
BooleanType ImplicitRungeKuttaExport::CONTINUOUS_OUTPUT [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), ForwardIRKExport::getDataDeclarations(), AdjointIRKExport::getDataDeclarations(), ImplicitRungeKuttaExport::getDataDeclarations(), AdjointIRKExport::getFunctionDeclarations(), ForwardIRKExport::getFunctionDeclarations(), ImplicitRungeKuttaExport::getFunctionDeclarations(), ImplicitRungeKuttaExport::ImplicitRungeKuttaExport(), ImplicitRungeKuttaExport::setup(), and ImplicitRungeKuttaExport::setupOutput().
BooleanType IntegratorExport::crsFormat [protected, inherited] |
Matrix ImplicitRungeKuttaExport::DD [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), and ImplicitRungeKuttaExport::initializeDDMatrix().
ExportVariable ImplicitRungeKuttaExport::debug_mat [protected, inherited] |
std::vector<ExportAcadoFunction> IntegratorExport::diffs_outputs [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), AdjointIRKExport::getAuxVariable(), ForwardIRKExport::getAuxVariable(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), IntegratorExport::getNameDiffsOUTPUT(), ImplicitRungeKuttaExport::ImplicitRungeKuttaExport(), and ImplicitRungeKuttaExport::setupOutput().
ExportAcadoFunction IntegratorExport::diffs_rhs [protected, inherited] |
Referenced by RungeKuttaExport::copy(), DiscreteTimeExport::copy(), ImplicitRungeKuttaExport::copy(), DiscreteTimeExport::getAuxVariable(), ExplicitRungeKuttaExport::getAuxVariable(), ForwardIRKExport::getAuxVariable(), AdjointIRKExport::getAuxVariable(), ImplicitRungeKuttaExport::getAuxVariable(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), ExplicitRungeKuttaExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), IntegratorExport::getNameDiffsRHS(), ExplicitRungeKuttaExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), NARXExport::setNARXmodel(), NARXExport::setup(), and ExplicitRungeKuttaExport::setup().
ExportAcadoFunction IntegratorExport::diffs_rhs3 [protected, inherited] |
Referenced by DiscreteTimeExport::getAuxVariable(), AdjointIRKExport::getAuxVariable(), ForwardIRKExport::getAuxVariable(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), DiscreteTimeExport::getCode(), IntegratorExport::getNameOutputDiffs(), IntegratorExport::setLinearOutput(), and NARXExport::setLinearOutput().
uint IntegratorExport::diffsDim [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), DiagonallyImplicitRKExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesOutputSystem(), ImplicitRungeKuttaExport::generateOutput(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), ImplicitRungeKuttaExport::ImplicitRungeKuttaExport(), ForwardIRKExport::sensitivitiesOutputs(), AdjointIRKExport::sensitivitiesOutputs(), NARXExport::setup(), DiscreteTimeExport::setup(), ForwardIRKExport::setup(), AdjointIRKExport::setup(), and ImplicitRungeKuttaExport::setup().
DifferentialStateDerivative IntegratorExport::dx [protected, inherited] |
Referenced by ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), ImplicitRungeKuttaExport::setup(), and ImplicitRungeKuttaExport::setupOutput().
ExportVariable IntegratorExport::error_code [protected, inherited] |
BooleanType IntegratorExport::exportRhs [protected, inherited] |
Referenced by IntegratorExport::copy(), ImplicitRungeKuttaExport::generateOutput(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ExplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::getCode(), ExplicitRungeKuttaExport::getDataDeclarations(), ImplicitRungeKuttaExport::getDataDeclarations(), IntegratorExport::getDimOUTPUT(), AdjointIRKExport::getFunctionDeclarations(), ForwardIRKExport::getFunctionDeclarations(), ExplicitRungeKuttaExport::getFunctionDeclarations(), DiscreteTimeExport::getFunctionDeclarations(), ImplicitRungeKuttaExport::getFunctionDeclarations(), IntegratorExport::getNameDiffsOUTPUT(), IntegratorExport::getNameDiffsRHS(), IntegratorExport::getNameOUTPUT(), IntegratorExport::getNameOutputDiffs(), IntegratorExport::getNameOutputRHS(), IntegratorExport::getNameRHS(), IntegratorExport::IntegratorExport(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), IntegratorExport::setLinearOutput(), IntegratorExport::setModel(), IntegratorExport::setModelData(), and ImplicitRungeKuttaExport::setupOutput().
ExportFunction IntegratorExport::fullRhs [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), DiscreteTimeExport::getFunctionDeclarations(), ImplicitRungeKuttaExport::getFunctionDeclarations(), IntegratorExport::getNameFullRHS(), NARXExport::prepareFullRhs(), IntegratorExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareFullRhs(), NARXExport::setup(), DiscreteTimeExport::setup(), and ImplicitRungeKuttaExport::setup().
Grid IntegratorExport::grid [protected, inherited] |
Referenced by RungeKuttaExport::copy(), IntegratorExport::copy(), ImplicitRungeKuttaExport::copy(), ImplicitRungeKuttaExport::divideMeasurements(), ImplicitRungeKuttaExport::evaluateDerivedPolynomial(), ImplicitRungeKuttaExport::evaluatePolynomial(), DiagonallyImplicitRKExport::formMatrix(), ImplicitRungeKuttaExport::formMatrix(), ImplicitRungeKuttaExport::generateOutput(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ExplicitRungeKuttaExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), ForwardIRKExport::getDataDeclarations(), AdjointIRKExport::getDataDeclarations(), IntegratorExport::getGrid(), IntegratorExport::getIntegrationInterval(), DiagonallyImplicitRKExport::prepareInputSystem(), ImplicitRungeKuttaExport::prepareOutputEvaluation(), DiagonallyImplicitRKExport::prepareOutputSystem(), AdjointIRKExport::sensitivitiesInputSystem(), ForwardIRKExport::sensitivitiesInputSystem(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), IntegratorExport::setGrid(), IntegratorExport::setModelData(), NARXExport::setup(), ExplicitRungeKuttaExport::setup(), DiscreteTimeExport::setup(), ForwardIRKExport::setup(), and AdjointIRKExport::setup().
std::vector<ExportVariable> ImplicitRungeKuttaExport::gridVariables [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), ImplicitRungeKuttaExport::generateOutput(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::getDataDeclarations(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), and ImplicitRungeKuttaExport::setupOutput().
uint IntegratorExport::inputDim [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), DiagonallyImplicitRKExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesOutputSystem(), ImplicitRungeKuttaExport::generateOutput(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::ImplicitRungeKuttaExport(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), ExplicitRungeKuttaExport::setup(), NARXExport::setup(), DiscreteTimeExport::setup(), ForwardIRKExport::setup(), AdjointIRKExport::setup(), and ImplicitRungeKuttaExport::setup().
ExportFunction IntegratorExport::integrate [protected, inherited] |
Referenced by RungeKuttaExport::copy(), DiscreteTimeExport::copy(), IntegratorExport::copy(), ImplicitRungeKuttaExport::copy(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ExplicitRungeKuttaExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), ExplicitRungeKuttaExport::getFunctionDeclarations(), DiscreteTimeExport::getFunctionDeclarations(), ImplicitRungeKuttaExport::getFunctionDeclarations(), ExplicitRungeKuttaExport::setup(), NARXExport::setup(), DiscreteTimeExport::setup(), and ImplicitRungeKuttaExport::setup().
ExportAcadoFunction IntegratorExport::lin_input [protected, inherited] |
Referenced by DiscreteTimeExport::getAuxVariable(), ForwardIRKExport::getAuxVariable(), AdjointIRKExport::getAuxVariable(), ImplicitRungeKuttaExport::getAuxVariable(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), IntegratorExport::setLinearInput(), NARXExport::setup(), DiscreteTimeExport::setup(), DiagonallyImplicitRKExport::solveInputSystem(), and ImplicitRungeKuttaExport::solveInputSystem().
ExportAcadoFunction ImplicitRungeKuttaExport::lin_output [protected, inherited] |
Matrix IntegratorExport::M11 [protected, inherited] |
Matrix IntegratorExport::M33 [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::prepareFullRhs(), AdjointIRKExport::prepareOutputSystem(), ForwardIRKExport::prepareOutputSystem(), DiagonallyImplicitRKExport::prepareOutputSystem(), ImplicitRungeKuttaExport::prepareOutputSystem(), IntegratorExport::setLinearOutput(), and NARXExport::setLinearOutput().
uint ExportAlgorithm::N [protected, inherited] |
Referenced by ExportAlgorithm::copy(), Constraint::getBlockDim(), ExportAlgorithm::getN(), Constraint::getNumberOfBlocks(), ExportNLPSolver::getNumComplexConstraints(), ExportGaussNewtonCN2::getNumQPvars(), ExportGaussNewtonQpDunes::getNumQPvars(), ExportGaussNewtonCondensed::getNumQPvars(), ExportGaussNewtonForces::getNumQPvars(), ExportNLPSolver::setConstraints(), ExportAlgorithm::setDimensions(), ExportNLPSolver::setObjective(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonCN2::setupCondensing(), ExportGaussNewtonCondensed::setupCondensing(), ExportGaussNewtonQpDunes::setupConstraintsEvaluation(), ExportGaussNewtonCN2::setupConstraintsEvaluation(), ExportGaussNewtonForces::setupConstraintsEvaluation(), ExportGaussNewtonCondensed::setupConstraintsEvaluation(), ExportGaussNewtonQpDunes::setupEvaluation(), ExportGaussNewtonForces::setupEvaluation(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), ExportGaussNewtonCondensed::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupQPInterface(), ExportNLPSolver::setupResidualVariables(), ExportNLPSolver::setupSimulation(), ExportGaussNewtonCN2::setupVariables(), and ExportGaussNewtonCondensed::setupVariables().
std::vector<String> IntegratorExport::name_diffs_outputs [protected, inherited] |
String IntegratorExport::name_diffs_rhs [protected, inherited] |
String IntegratorExport::name_diffs_rhs3 [protected, inherited] |
Referenced by IntegratorExport::getNameOutputDiffs(), and IntegratorExport::setLinearOutput().
std::vector<String> IntegratorExport::name_outputs [protected, inherited] |
String IntegratorExport::name_rhs [protected, inherited] |
String IntegratorExport::name_rhs3 [protected, inherited] |
Referenced by IntegratorExport::getNameOutputRHS(), and IntegratorExport::setLinearOutput().
uint ExportAlgorithm::NDX [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::generateOutput(), ImplicitRungeKuttaExport::prepareOutputEvaluation(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), ExportAlgorithm::setDimensions(), IntegratorExport::setLinearOutput(), ImplicitRungeKuttaExport::setModel(), IntegratorExport::setModel(), ImplicitRungeKuttaExport::setup(), and ImplicitRungeKuttaExport::setupOutput().
uint ImplicitRungeKuttaExport::NDX2 [protected, inherited] |
Referenced by DiagonallyImplicitRKExport::evaluateMatrix(), ImplicitRungeKuttaExport::evaluateMatrix(), DiagonallyImplicitRKExport::evaluateRhsImplicitSystem(), ImplicitRungeKuttaExport::evaluateRhsImplicitSystem(), DiagonallyImplicitRKExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::ImplicitRungeKuttaExport(), ImplicitRungeKuttaExport::prepareFullRhs(), AdjointIRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), ImplicitRungeKuttaExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setModel(), and ImplicitRungeKuttaExport::setup().
uint IntegratorExport::NDX3 [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::evaluateStatesOutputSystem(), ImplicitRungeKuttaExport::ImplicitRungeKuttaExport(), IntegratorExport::IntegratorExport(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModelData(), ForwardIRKExport::setup(), ImplicitRungeKuttaExport::setup(), and AdjointIRKExport::setup().
uint ExportAlgorithm::NP [protected, inherited] |
Referenced by ExportAlgorithm::copy(), ExportAlgorithm::getNP(), ExportNLPSolver::setConstraints(), ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), ExportAlgorithm::setDimensions(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), ExportNLPSolver::setObjective(), ExplicitRungeKuttaExport::setup(), NARXExport::setup(), DiscreteTimeExport::setup(), AdjointIRKExport::setup(), ImplicitRungeKuttaExport::setup(), ForwardIRKExport::setup(), ExportNLPSolver::setupArrivalCostCalculation(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonQpDunes::setupConstraintsEvaluation(), ExportGaussNewtonCondensed::setupConstraintsEvaluation(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), ExportGaussNewtonCondensed::setupObjectiveEvaluation(), and ExportNLPSolver::setupSimulation().
uint ExportAlgorithm::NU [protected, inherited] |
Referenced by ExportAlgorithm::copy(), ImplicitRungeKuttaExport::generateOutput(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ExportAlgorithm::getNU(), ExportGaussNewtonCN2::getNumQPvars(), ExportGaussNewtonQpDunes::getNumQPvars(), ExportGaussNewtonCondensed::getNumQPvars(), ExportGaussNewtonForces::getNumQPvars(), NARXExport::prepareFullRhs(), IntegratorExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareFullRhs(), DiagonallyImplicitRKExport::prepareInputSystem(), AdjointIRKExport::prepareInputSystem(), ForwardIRKExport::prepareInputSystem(), NARXExport::propagateImplicitSystem(), IntegratorExport::propagateImplicitSystem(), NARXExport::propagateInputSystem(), IntegratorExport::propagateInputSystem(), AdjointIRKExport::propagateOutputs(), ForwardIRKExport::propagateOutputs(), NARXExport::propagateOutputSystem(), IntegratorExport::propagateOutputSystem(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), ExportNLPSolver::setConstraints(), ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), ExportAlgorithm::setDimensions(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), NARXExport::setNARXmodel(), ExportNLPSolver::setObjective(), ExplicitRungeKuttaExport::setup(), NARXExport::setup(), DiscreteTimeExport::setup(), AdjointIRKExport::setup(), ImplicitRungeKuttaExport::setup(), ForwardIRKExport::setup(), ExportNLPSolver::setupArrivalCostCalculation(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonCN2::setupCondensing(), ExportGaussNewtonCondensed::setupCondensing(), ExportGaussNewtonQpDunes::setupConstraintsEvaluation(), ExportGaussNewtonCN2::setupConstraintsEvaluation(), ExportGaussNewtonForces::setupConstraintsEvaluation(), ExportGaussNewtonCondensed::setupConstraintsEvaluation(), ExportGaussNewtonQpDunes::setupEvaluation(), ExportGaussNewtonForces::setupEvaluation(), ExportGaussNewtonCN2::setupMultiplicationRoutines(), ExportGaussNewtonCondensed::setupMultiplicationRoutines(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonCondensed::setupObjectiveEvaluation(), ImplicitRungeKuttaExport::setupOutput(), ExportGaussNewtonForces::setupQPInterface(), ExportNLPSolver::setupSimulation(), ExportGaussNewtonCN2::setupVariables(), ExportGaussNewtonCondensed::setupVariables(), NARXExport::updateImplicitSystem(), IntegratorExport::updateImplicitSystem(), NARXExport::updateInputSystem(), IntegratorExport::updateInputSystem(), NARXExport::updateOutputSystem(), and IntegratorExport::updateOutputSystem().
std::vector<uint> IntegratorExport::num_outputs [protected, inherited] |
Vector ImplicitRungeKuttaExport::numDX_output [protected, inherited] |
uint ImplicitRungeKuttaExport::numIts [protected, inherited] |
uint ImplicitRungeKuttaExport::numItsInit [protected, inherited] |
std::vector<ExportIndex> ImplicitRungeKuttaExport::numMeas [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::generateOutput(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), AdjointIRKExport::propagateOutputs(), ForwardIRKExport::propagateOutputs(), AdjointIRKExport::sensitivitiesOutputs(), and ForwardIRKExport::sensitivitiesOutputs().
std::vector<ExportVariable> ImplicitRungeKuttaExport::numMeasVariables [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::generateOutput(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::prepareOutputEvaluation(), ForwardIRKExport::propagateOutputs(), AdjointIRKExport::propagateOutputs(), AdjointIRKExport::sensitivitiesOutputs(), and ForwardIRKExport::sensitivitiesOutputs().
uint RungeKuttaExport::numStages [protected, inherited] |
Referenced by RungeKuttaExport::copy(), ImplicitRungeKuttaExport::copy(), ImplicitRungeKuttaExport::evaluateDerivedPolynomial(), ImplicitRungeKuttaExport::evaluateMatrix(), ImplicitRungeKuttaExport::evaluatePolynomial(), ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesOutputSystem(), DiagonallyImplicitRKExport::formMatrix(), ImplicitRungeKuttaExport::formMatrix(), ImplicitRungeKuttaExport::generateOutput(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), RungeKuttaExport::getNumStages(), RungeKuttaExport::initializeButcherTableau(), ImplicitRungeKuttaExport::initializeCoefficients(), ImplicitRungeKuttaExport::initializeDDMatrix(), DiagonallyImplicitRKExport::prepareInputSystem(), ForwardIRKExport::prepareInputSystem(), AdjointIRKExport::prepareInputSystem(), ImplicitRungeKuttaExport::prepareInputSystem(), ImplicitRungeKuttaExport::prepareOutputEvaluation(), ForwardIRKExport::prepareOutputSystem(), AdjointIRKExport::prepareOutputSystem(), DiagonallyImplicitRKExport::prepareOutputSystem(), ImplicitRungeKuttaExport::prepareOutputSystem(), ForwardIRKExport::sensitivitiesImplicitSystem(), AdjointIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesOutputs(), AdjointIRKExport::sensitivitiesOutputs(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::setup(), ForwardIRKExport::setup(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::setup(), ImplicitRungeKuttaExport::setupOutput(), DiagonallyImplicitRKExport::solveImplicitSystem(), ImplicitRungeKuttaExport::solveImplicitSystem(), DiagonallyImplicitRKExport::solveInputSystem(), ImplicitRungeKuttaExport::solveInputSystem(), DiagonallyImplicitRKExport::solveOutputSystem(), and ImplicitRungeKuttaExport::solveOutputSystem().
Vector IntegratorExport::numSteps [protected, inherited] |
Referenced by IntegratorExport::copy(), IntegratorExport::equidistantControlGrid(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), IntegratorExport::getNumSteps(), IntegratorExport::setModelData(), NARXExport::setup(), ExplicitRungeKuttaExport::setup(), and DiscreteTimeExport::setup().
Vector ImplicitRungeKuttaExport::numVARS_output [protected, inherited] |
Vector ImplicitRungeKuttaExport::numXA_output [protected, inherited] |
uint ImplicitRungeKuttaExport::NVARS2 [protected, inherited] |
Referenced by DiagonallyImplicitRKExport::evaluateMatrix(), ImplicitRungeKuttaExport::evaluateMatrix(), ImplicitRungeKuttaExport::ImplicitRungeKuttaExport(), ForwardIRKExport::sensitivitiesImplicitSystem(), AdjointIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), ImplicitRungeKuttaExport::setup(), AdjointIRKExport::setup(), and ForwardIRKExport::setup().
uint ImplicitRungeKuttaExport::NVARS3 [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::ImplicitRungeKuttaExport(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::setup(), ForwardIRKExport::setup(), and ImplicitRungeKuttaExport::setup().
uint ExportAlgorithm::NX [protected, inherited] |
Referenced by ExportAlgorithm::copy(), DiagonallyImplicitRKExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesOutputSystem(), IntegratorExport::expandOutputMatrix(), ImplicitRungeKuttaExport::generateOutput(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), DiscreteTimeExport::getFunctionDeclarations(), ImplicitRungeKuttaExport::getFunctionDeclarations(), IntegratorExport::getNameFullRHS(), ExportGaussNewtonCN2::getNumQPvars(), ExportGaussNewtonQpDunes::getNumQPvars(), ExportGaussNewtonCondensed::getNumQPvars(), ExportGaussNewtonForces::getNumQPvars(), ExportAlgorithm::getNX(), NARXExport::prepareFullRhs(), IntegratorExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareFullRhs(), NARXExport::propagateImplicitSystem(), IntegratorExport::propagateImplicitSystem(), NARXExport::propagateInputSystem(), IntegratorExport::propagateInputSystem(), ForwardIRKExport::propagateOutputs(), AdjointIRKExport::propagateOutputs(), NARXExport::propagateOutputSystem(), IntegratorExport::propagateOutputSystem(), ForwardIRKExport::sensitivitiesImplicitSystem(), AdjointIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesOutputs(), AdjointIRKExport::sensitivitiesOutputs(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), ExportNLPSolver::setConstraints(), ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), ExportAlgorithm::setDimensions(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), NARXExport::setNARXmodel(), ExportNLPSolver::setObjective(), NARXExport::setup(), ExplicitRungeKuttaExport::setup(), DiscreteTimeExport::setup(), ImplicitRungeKuttaExport::setup(), AdjointIRKExport::setup(), ForwardIRKExport::setup(), ExportNLPSolver::setupArrivalCostCalculation(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonCN2::setupCondensing(), ExportGaussNewtonCondensed::setupCondensing(), ExportGaussNewtonQpDunes::setupConstraintsEvaluation(), ExportGaussNewtonCN2::setupConstraintsEvaluation(), ExportGaussNewtonForces::setupConstraintsEvaluation(), ExportGaussNewtonCondensed::setupConstraintsEvaluation(), ExportGaussNewtonQpDunes::setupEvaluation(), ExportGaussNewtonForces::setupEvaluation(), ExportGaussNewtonCN2::setupMultiplicationRoutines(), ExportGaussNewtonCondensed::setupMultiplicationRoutines(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), ExportGaussNewtonCondensed::setupObjectiveEvaluation(), ImplicitRungeKuttaExport::setupOutput(), ExportGaussNewtonForces::setupQPInterface(), ExportNLPSolver::setupSimulation(), ExportGaussNewtonQpDunes::setupVariables(), ExportGaussNewtonForces::setupVariables(), ExportGaussNewtonCN2::setupVariables(), ExportGaussNewtonCondensed::setupVariables(), DiagonallyImplicitRKExport::solveImplicitSystem(), ImplicitRungeKuttaExport::solveImplicitSystem(), DiagonallyImplicitRKExport::solveOutputSystem(), NARXExport::updateImplicitSystem(), IntegratorExport::updateImplicitSystem(), NARXExport::updateInputSystem(), IntegratorExport::updateInputSystem(), NARXExport::updateOutputSystem(), and IntegratorExport::updateOutputSystem().
uint IntegratorExport::NX1 [protected, inherited] |
Referenced by DiagonallyImplicitRKExport::evaluateMatrix(), ImplicitRungeKuttaExport::evaluateMatrix(), DiagonallyImplicitRKExport::evaluateRhsImplicitSystem(), ImplicitRungeKuttaExport::evaluateRhsImplicitSystem(), DiagonallyImplicitRKExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesOutputSystem(), NARXExport::formNARXpolynomial(), DiscreteTimeExport::getAuxVariable(), AdjointIRKExport::getAuxVariable(), ForwardIRKExport::getAuxVariable(), ImplicitRungeKuttaExport::getAuxVariable(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::getDataDeclarations(), ImplicitRungeKuttaExport::ImplicitRungeKuttaExport(), IntegratorExport::IntegratorExport(), NARXExport::prepareFullRhs(), IntegratorExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareFullRhs(), DiagonallyImplicitRKExport::prepareInputSystem(), AdjointIRKExport::prepareInputSystem(), ForwardIRKExport::prepareInputSystem(), ImplicitRungeKuttaExport::prepareInputSystem(), NARXExport::propagateImplicitSystem(), IntegratorExport::propagateImplicitSystem(), NARXExport::propagateInputSystem(), IntegratorExport::propagateInputSystem(), ForwardIRKExport::propagateOutputs(), AdjointIRKExport::propagateOutputs(), NARXExport::propagateOutputSystem(), IntegratorExport::propagateOutputSystem(), AdjointIRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesInputSystem(), AdjointIRKExport::sensitivitiesInputSystem(), ForwardIRKExport::sensitivitiesOutputs(), AdjointIRKExport::sensitivitiesOutputs(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), ImplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), IntegratorExport::setModelData(), NARXExport::setNARXmodel(), NARXExport::setup(), DiscreteTimeExport::setup(), ForwardIRKExport::setup(), AdjointIRKExport::setup(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::setup(), DiagonallyImplicitRKExport::solveImplicitSystem(), ImplicitRungeKuttaExport::solveImplicitSystem(), DiagonallyImplicitRKExport::solveInputSystem(), ImplicitRungeKuttaExport::solveInputSystem(), DiagonallyImplicitRKExport::solveOutputSystem(), ImplicitRungeKuttaExport::solveOutputSystem(), NARXExport::updateImplicitSystem(), IntegratorExport::updateImplicitSystem(), NARXExport::updateInputSystem(), IntegratorExport::updateInputSystem(), NARXExport::updateOutputSystem(), and IntegratorExport::updateOutputSystem().
uint IntegratorExport::NX2 [protected, inherited] |
Referenced by DiagonallyImplicitRKExport::evaluateMatrix(), ImplicitRungeKuttaExport::evaluateMatrix(), DiagonallyImplicitRKExport::evaluateRhsImplicitSystem(), ImplicitRungeKuttaExport::evaluateRhsImplicitSystem(), DiagonallyImplicitRKExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesOutputSystem(), NARXExport::formNARXpolynomial(), DiscreteTimeExport::getAuxVariable(), ForwardIRKExport::getAuxVariable(), AdjointIRKExport::getAuxVariable(), ImplicitRungeKuttaExport::getAuxVariable(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::getDataDeclarations(), DiscreteTimeExport::getFunctionDeclarations(), ImplicitRungeKuttaExport::getFunctionDeclarations(), IntegratorExport::getNameFullRHS(), ImplicitRungeKuttaExport::ImplicitRungeKuttaExport(), IntegratorExport::IntegratorExport(), NARXExport::prepareFullRhs(), IntegratorExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareFullRhs(), NARXExport::propagateImplicitSystem(), IntegratorExport::propagateImplicitSystem(), AdjointIRKExport::propagateOutputs(), ForwardIRKExport::propagateOutputs(), NARXExport::propagateOutputSystem(), IntegratorExport::propagateOutputSystem(), ForwardIRKExport::sensitivitiesImplicitSystem(), AdjointIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), ImplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), IntegratorExport::setModelData(), NARXExport::setNARXmodel(), NARXExport::setup(), DiscreteTimeExport::setup(), ForwardIRKExport::setup(), AdjointIRKExport::setup(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::setup(), DiagonallyImplicitRKExport::solveImplicitSystem(), ImplicitRungeKuttaExport::solveImplicitSystem(), DiagonallyImplicitRKExport::solveOutputSystem(), ImplicitRungeKuttaExport::solveOutputSystem(), NARXExport::updateImplicitSystem(), IntegratorExport::updateImplicitSystem(), NARXExport::updateOutputSystem(), and IntegratorExport::updateOutputSystem().
uint IntegratorExport::NX3 [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::evaluateStatesOutputSystem(), IntegratorExport::expandOutputMatrix(), DiscreteTimeExport::getAuxVariable(), AdjointIRKExport::getAuxVariable(), ForwardIRKExport::getAuxVariable(), ImplicitRungeKuttaExport::getAuxVariable(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), ForwardIRKExport::getFunctionDeclarations(), AdjointIRKExport::getFunctionDeclarations(), ImplicitRungeKuttaExport::getFunctionDeclarations(), ImplicitRungeKuttaExport::ImplicitRungeKuttaExport(), IntegratorExport::IntegratorExport(), NARXExport::prepareFullRhs(), IntegratorExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareFullRhs(), ForwardIRKExport::prepareOutputSystem(), AdjointIRKExport::prepareOutputSystem(), DiagonallyImplicitRKExport::prepareOutputSystem(), ImplicitRungeKuttaExport::prepareOutputSystem(), NARXExport::propagateOutputSystem(), IntegratorExport::propagateOutputSystem(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), IntegratorExport::setModelData(), NARXExport::setup(), DiscreteTimeExport::setup(), ImplicitRungeKuttaExport::setup(), ForwardIRKExport::setup(), AdjointIRKExport::setup(), DiagonallyImplicitRKExport::setup(), DiagonallyImplicitRKExport::solveOutputSystem(), ImplicitRungeKuttaExport::solveOutputSystem(), IntegratorExport::updateImplicitSystem(), NARXExport::updateOutputSystem(), and IntegratorExport::updateOutputSystem().
uint ExportAlgorithm::NXA [protected, inherited] |
Referenced by ExportAlgorithm::copy(), DiagonallyImplicitRKExport::evaluateMatrix(), ImplicitRungeKuttaExport::evaluateMatrix(), DiagonallyImplicitRKExport::evaluateRhsImplicitSystem(), ImplicitRungeKuttaExport::evaluateRhsImplicitSystem(), DiagonallyImplicitRKExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::generateOutput(), ForwardIRKExport::getAuxVariable(), AdjointIRKExport::getAuxVariable(), ImplicitRungeKuttaExport::getAuxVariable(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::getDataDeclarations(), ExportAlgorithm::getNXA(), IntegratorExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareOutputEvaluation(), IntegratorExport::propagateImplicitSystem(), IntegratorExport::propagateInputSystem(), IntegratorExport::propagateOutputSystem(), ForwardIRKExport::sensitivitiesImplicitSystem(), AdjointIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), ExportAlgorithm::setDimensions(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), NARXExport::setNARXmodel(), DiscreteTimeExport::setup(), AdjointIRKExport::setup(), ForwardIRKExport::setup(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::setup(), ExportNLPSolver::setupArrivalCostCalculation(), ExportNLPSolver::setupAuxiliaryFunctions(), ImplicitRungeKuttaExport::setupOutput(), ExportNLPSolver::setupSimulation(), DiagonallyImplicitRKExport::solveImplicitSystem(), ImplicitRungeKuttaExport::solveImplicitSystem(), IntegratorExport::updateImplicitSystem(), IntegratorExport::updateInputSystem(), and IntegratorExport::updateOutputSystem().
uint IntegratorExport::NXA3 [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::evaluateStatesOutputSystem(), ImplicitRungeKuttaExport::ImplicitRungeKuttaExport(), IntegratorExport::IntegratorExport(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModelData(), AdjointIRKExport::setup(), and ForwardIRKExport::setup().
uint ExportAlgorithm::NY [protected, inherited] |
Referenced by ExportAlgorithm::copy(), ExportAlgorithm::getNY(), ExportAlgorithm::setNY(), ExportNLPSolver::setObjective(), ExportNLPSolver::setupArrivalCostCalculation(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonCN2::setupCondensing(), ExportGaussNewtonCondensed::setupCondensing(), ExportGaussNewtonCN2::setupMultiplicationRoutines(), ExportGaussNewtonCondensed::setupMultiplicationRoutines(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), and ExportGaussNewtonCondensed::setupObjectiveEvaluation().
uint ExportAlgorithm::NYN [protected, inherited] |
Referenced by ExportAlgorithm::getNYN(), ExportAlgorithm::setNYN(), ExportNLPSolver::setObjective(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), and ExportGaussNewtonCondensed::setupObjectiveEvaluation().
std::vector<Matrix> IntegratorExport::outputDependencies [protected, inherited] |
std::vector<Expression> IntegratorExport::outputExpressions [protected, inherited] |
std::vector<Grid> IntegratorExport::outputGrids [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), ImplicitRungeKuttaExport::divideMeasurements(), ImplicitRungeKuttaExport::evaluateDerivedPolynomial(), ImplicitRungeKuttaExport::evaluatePolynomial(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), IntegratorExport::getOutputGrids(), ImplicitRungeKuttaExport::ImplicitRungeKuttaExport(), ImplicitRungeKuttaExport::prepareOutputEvaluation(), and ImplicitRungeKuttaExport::setupOutput().
int AlgorithmicBase::outputLoggingIdx [protected, inherited] |
std::vector<ExportAcadoFunction> IntegratorExport::outputs [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), AdjointIRKExport::getAuxVariable(), ForwardIRKExport::getAuxVariable(), ImplicitRungeKuttaExport::getAuxVariable(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), IntegratorExport::getNameOUTPUT(), ImplicitRungeKuttaExport::ImplicitRungeKuttaExport(), and ImplicitRungeKuttaExport::setupOutput().
Parameter IntegratorExport::p [protected, inherited] |
Referenced by ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), and IntegratorExport::setModel().
std::vector<ExportVariable> ImplicitRungeKuttaExport::polynDerVariables [protected, inherited] |
ExportVariable ImplicitRungeKuttaExport::polynEvalVar [protected, inherited] |
std::vector<ExportVariable> ImplicitRungeKuttaExport::polynVariables [protected, inherited] |
ExportVariable IntegratorExport::reset_int [protected, inherited] |
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), DiscreteTimeExport::getDataDeclarations(), IntegratorExport::IntegratorExport(), NARXExport::setup(), ExplicitRungeKuttaExport::setup(), DiscreteTimeExport::setup(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::solveImplicitSystem(), and ImplicitRungeKuttaExport::solveImplicitSystem().
BooleanType ImplicitRungeKuttaExport::REUSE [protected, inherited] |
ExportAcadoFunction IntegratorExport::rhs [protected, inherited] |
Referenced by RungeKuttaExport::copy(), DiscreteTimeExport::copy(), ImplicitRungeKuttaExport::copy(), DiscreteTimeExport::getAuxVariable(), ForwardIRKExport::getAuxVariable(), AdjointIRKExport::getAuxVariable(), ImplicitRungeKuttaExport::getAuxVariable(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), ExplicitRungeKuttaExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), ExplicitRungeKuttaExport::getFunctionDeclarations(), DiscreteTimeExport::getFunctionDeclarations(), ImplicitRungeKuttaExport::getFunctionDeclarations(), IntegratorExport::getNameRHS(), ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), IntegratorExport::setModel(), NARXExport::setNARXmodel(), NARXExport::setup(), and ImplicitRungeKuttaExport::setupOutput().
ExportAcadoFunction IntegratorExport::rhs3 [protected, inherited] |
Referenced by DiscreteTimeExport::getAuxVariable(), AdjointIRKExport::getAuxVariable(), ForwardIRKExport::getAuxVariable(), ImplicitRungeKuttaExport::getAuxVariable(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), IntegratorExport::getNameOutputRHS(), IntegratorExport::setLinearOutput(), and NARXExport::setLinearOutput().
ExportVariable IntegratorExport::rhs_in [protected, inherited] |
ExportVariable IntegratorExport::rhs_out [protected, inherited] |
ExportVariable ImplicitRungeKuttaExport::rk_A [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), DiagonallyImplicitRKExport::evaluateMatrix(), ImplicitRungeKuttaExport::evaluateMatrix(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::getDataDeclarations(), ForwardIRKExport::sensitivitiesImplicitSystem(), AdjointIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::setup(), DiagonallyImplicitRKExport::solveImplicitSystem(), and ImplicitRungeKuttaExport::solveImplicitSystem().
ExportVariable ImplicitRungeKuttaExport::rk_auxSolver [protected, inherited] |
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::getDataDeclarations(), ForwardIRKExport::sensitivitiesImplicitSystem(), AdjointIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::setup(), DiagonallyImplicitRKExport::solveImplicitSystem(), and ImplicitRungeKuttaExport::solveImplicitSystem().
ExportVariable ImplicitRungeKuttaExport::rk_b [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), DiagonallyImplicitRKExport::evaluateRhsImplicitSystem(), ImplicitRungeKuttaExport::evaluateRhsImplicitSystem(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::getDataDeclarations(), AdjointIRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::setup(), DiagonallyImplicitRKExport::solveImplicitSystem(), ImplicitRungeKuttaExport::solveImplicitSystem(), DiagonallyImplicitRKExport::solveInputSystem(), ImplicitRungeKuttaExport::solveInputSystem(), DiagonallyImplicitRKExport::solveOutputSystem(), and ImplicitRungeKuttaExport::solveOutputSystem().
ExportVariable ImplicitRungeKuttaExport::rk_diffK [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), AdjointIRKExport::getDataDeclarations(), ForwardIRKExport::getDataDeclarations(), AdjointIRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), AdjointIRKExport::sensitivitiesInputSystem(), ForwardIRKExport::sensitivitiesInputSystem(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::setup(), and ForwardIRKExport::setup().
ExportVariable IntegratorExport::rk_diffsNew1 [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), DiscreteTimeExport::getCode(), ForwardIRKExport::getDataDeclarations(), AdjointIRKExport::getDataDeclarations(), DiscreteTimeExport::getDataDeclarations(), NARXExport::propagateInputSystem(), IntegratorExport::propagateInputSystem(), AdjointIRKExport::sensitivitiesInputSystem(), ForwardIRKExport::sensitivitiesInputSystem(), NARXExport::setup(), DiscreteTimeExport::setup(), AdjointIRKExport::setup(), ForwardIRKExport::setup(), NARXExport::updateInputSystem(), and IntegratorExport::updateInputSystem().
ExportVariable IntegratorExport::rk_diffsNew2 [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), DiscreteTimeExport::getCode(), AdjointIRKExport::getDataDeclarations(), ForwardIRKExport::getDataDeclarations(), DiscreteTimeExport::getDataDeclarations(), NARXExport::propagateImplicitSystem(), IntegratorExport::propagateImplicitSystem(), AdjointIRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), NARXExport::setup(), DiscreteTimeExport::setup(), ForwardIRKExport::setup(), AdjointIRKExport::setup(), NARXExport::updateImplicitSystem(), and IntegratorExport::updateImplicitSystem().
ExportVariable IntegratorExport::rk_diffsNew3 [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), DiscreteTimeExport::getCode(), AdjointIRKExport::getDataDeclarations(), ForwardIRKExport::getDataDeclarations(), DiscreteTimeExport::getDataDeclarations(), NARXExport::propagateOutputSystem(), IntegratorExport::propagateOutputSystem(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), NARXExport::setup(), DiscreteTimeExport::setup(), AdjointIRKExport::setup(), ForwardIRKExport::setup(), NARXExport::updateOutputSystem(), and IntegratorExport::updateOutputSystem().
ExportVariable ImplicitRungeKuttaExport::rk_diffsOutputTemp [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), AdjointIRKExport::getDataDeclarations(), ForwardIRKExport::getDataDeclarations(), AdjointIRKExport::propagateOutputs(), ForwardIRKExport::propagateOutputs(), ForwardIRKExport::sensitivitiesOutputs(), AdjointIRKExport::sensitivitiesOutputs(), and ImplicitRungeKuttaExport::setupOutput().
ExportVariable IntegratorExport::rk_diffsPrev1 [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), DiscreteTimeExport::getCode(), AdjointIRKExport::getDataDeclarations(), ForwardIRKExport::getDataDeclarations(), DiscreteTimeExport::getDataDeclarations(), NARXExport::propagateImplicitSystem(), IntegratorExport::propagateImplicitSystem(), NARXExport::propagateInputSystem(), IntegratorExport::propagateInputSystem(), AdjointIRKExport::propagateOutputs(), ForwardIRKExport::propagateOutputs(), NARXExport::propagateOutputSystem(), IntegratorExport::propagateOutputSystem(), NARXExport::setup(), DiscreteTimeExport::setup(), ForwardIRKExport::setup(), and AdjointIRKExport::setup().
ExportVariable IntegratorExport::rk_diffsPrev2 [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), DiscreteTimeExport::getCode(), ForwardIRKExport::getDataDeclarations(), AdjointIRKExport::getDataDeclarations(), DiscreteTimeExport::getDataDeclarations(), NARXExport::propagateImplicitSystem(), IntegratorExport::propagateImplicitSystem(), AdjointIRKExport::propagateOutputs(), ForwardIRKExport::propagateOutputs(), NARXExport::propagateOutputSystem(), IntegratorExport::propagateOutputSystem(), NARXExport::setup(), DiscreteTimeExport::setup(), AdjointIRKExport::setup(), and ForwardIRKExport::setup().
ExportVariable IntegratorExport::rk_diffsPrev3 [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), DiscreteTimeExport::getCode(), AdjointIRKExport::getDataDeclarations(), ForwardIRKExport::getDataDeclarations(), DiscreteTimeExport::getDataDeclarations(), ForwardIRKExport::propagateOutputs(), AdjointIRKExport::propagateOutputs(), NARXExport::propagateOutputSystem(), IntegratorExport::propagateOutputSystem(), NARXExport::setup(), DiscreteTimeExport::setup(), ForwardIRKExport::setup(), and AdjointIRKExport::setup().
ExportVariable IntegratorExport::rk_diffsTemp2 [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), DiagonallyImplicitRKExport::evaluateMatrix(), ImplicitRungeKuttaExport::evaluateMatrix(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::getDataDeclarations(), AdjointIRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), ImplicitRungeKuttaExport::setup(), ForwardIRKExport::setup(), and AdjointIRKExport::setup().
ExportVariable ImplicitRungeKuttaExport::rk_diffsTemp3 [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), AdjointIRKExport::getDataDeclarations(), ForwardIRKExport::getDataDeclarations(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::setup(), AdjointIRKExport::setup(), DiagonallyImplicitRKExport::solveOutputSystem(), and ImplicitRungeKuttaExport::solveOutputSystem().
ExportVariable ImplicitRungeKuttaExport::rk_dk1 [protected, inherited] |
ExportVariable ImplicitRungeKuttaExport::rk_dk3 [protected, inherited] |
Referenced by AdjointIRKExport::prepareOutputSystem(), ForwardIRKExport::prepareOutputSystem(), DiagonallyImplicitRKExport::prepareOutputSystem(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), and AdjointIRKExport::sensitivitiesOutputSystem().
ExportVariable IntegratorExport::rk_eta [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), DiagonallyImplicitRKExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesOutputSystem(), ImplicitRungeKuttaExport::generateOutput(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), NARXExport::propagateImplicitSystem(), IntegratorExport::propagateImplicitSystem(), NARXExport::propagateInputSystem(), IntegratorExport::propagateInputSystem(), NARXExport::propagateOutputSystem(), IntegratorExport::propagateOutputSystem(), ForwardIRKExport::sensitivitiesOutputs(), AdjointIRKExport::sensitivitiesOutputs(), ExplicitRungeKuttaExport::setup(), NARXExport::setup(), DiscreteTimeExport::setup(), ForwardIRKExport::setup(), ImplicitRungeKuttaExport::setup(), AdjointIRKExport::setup(), DiagonallyImplicitRKExport::solveInputSystem(), ImplicitRungeKuttaExport::solveInputSystem(), NARXExport::updateImplicitSystem(), IntegratorExport::updateImplicitSystem(), NARXExport::updateInputSystem(), IntegratorExport::updateInputSystem(), NARXExport::updateOutputSystem(), and IntegratorExport::updateOutputSystem().
ExportVariable IntegratorExport::rk_index [protected, inherited] |
ExportVariable RungeKuttaExport::rk_kkk [protected, inherited] |
Referenced by RungeKuttaExport::copy(), ImplicitRungeKuttaExport::copy(), DiagonallyImplicitRKExport::evaluateRhsImplicitSystem(), ImplicitRungeKuttaExport::evaluateRhsImplicitSystem(), DiagonallyImplicitRKExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesOutputSystem(), ImplicitRungeKuttaExport::generateOutput(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ExplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::getCode(), ExplicitRungeKuttaExport::getDataDeclarations(), ImplicitRungeKuttaExport::getDataDeclarations(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), ExplicitRungeKuttaExport::setup(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::solveImplicitSystem(), ImplicitRungeKuttaExport::solveImplicitSystem(), DiagonallyImplicitRKExport::solveInputSystem(), ImplicitRungeKuttaExport::solveInputSystem(), DiagonallyImplicitRKExport::solveOutputSystem(), and ImplicitRungeKuttaExport::solveOutputSystem().
ExportVariable ImplicitRungeKuttaExport::rk_mat1 [protected, inherited] |
ExportVariable ImplicitRungeKuttaExport::rk_mat3 [protected, inherited] |
Referenced by AdjointIRKExport::prepareOutputSystem(), ForwardIRKExport::prepareOutputSystem(), DiagonallyImplicitRKExport::prepareOutputSystem(), ImplicitRungeKuttaExport::prepareOutputSystem(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), DiagonallyImplicitRKExport::solveOutputSystem(), and ImplicitRungeKuttaExport::solveOutputSystem().
ExportVariable ImplicitRungeKuttaExport::rk_out [protected, inherited] |
ExportVariable ImplicitRungeKuttaExport::rk_outH [protected, inherited] |
std::vector<ExportVariable> ImplicitRungeKuttaExport::rk_outputs [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), ImplicitRungeKuttaExport::generateOutput(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), AdjointIRKExport::propagateOutputs(), ForwardIRKExport::propagateOutputs(), ForwardIRKExport::sensitivitiesOutputs(), AdjointIRKExport::sensitivitiesOutputs(), ImplicitRungeKuttaExport::setup(), and ImplicitRungeKuttaExport::setupOutput().
ExportVariable ImplicitRungeKuttaExport::rk_rhsOutputTemp [protected, inherited] |
ExportVariable ImplicitRungeKuttaExport::rk_rhsTemp [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), DiagonallyImplicitRKExport::evaluateRhsImplicitSystem(), ImplicitRungeKuttaExport::evaluateRhsImplicitSystem(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::getDataDeclarations(), AdjointIRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesOutputs(), AdjointIRKExport::sensitivitiesOutputs(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), ImplicitRungeKuttaExport::setup(), and ImplicitRungeKuttaExport::solveInputSystem().
ExportVariable IntegratorExport::rk_ttt [protected, inherited] |
Referenced by RungeKuttaExport::copy(), DiscreteTimeExport::copy(), ImplicitRungeKuttaExport::copy(), ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ExplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::getCode(), ExplicitRungeKuttaExport::getDataDeclarations(), ImplicitRungeKuttaExport::getDataDeclarations(), ExplicitRungeKuttaExport::setup(), and ImplicitRungeKuttaExport::setup().
ExportVariable IntegratorExport::rk_xxx [protected, inherited] |
Referenced by RungeKuttaExport::copy(), DiscreteTimeExport::copy(), ImplicitRungeKuttaExport::copy(), DiagonallyImplicitRKExport::evaluateMatrix(), ImplicitRungeKuttaExport::evaluateMatrix(), DiagonallyImplicitRKExport::evaluateRhsImplicitSystem(), ImplicitRungeKuttaExport::evaluateRhsImplicitSystem(), DiagonallyImplicitRKExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesOutputSystem(), ImplicitRungeKuttaExport::generateOutput(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ExplicitRungeKuttaExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), ExplicitRungeKuttaExport::getDataDeclarations(), DiscreteTimeExport::getDataDeclarations(), ImplicitRungeKuttaExport::getDataDeclarations(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), ExplicitRungeKuttaExport::setup(), NARXExport::setup(), DiscreteTimeExport::setup(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::solveInputSystem(), ImplicitRungeKuttaExport::solveInputSystem(), DiagonallyImplicitRKExport::solveOutputSystem(), and ImplicitRungeKuttaExport::solveOutputSystem().
ExportLinearSolver* ImplicitRungeKuttaExport::solver [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::getDataDeclarations(), ImplicitRungeKuttaExport::ImplicitRungeKuttaExport(), ForwardIRKExport::sensitivitiesImplicitSystem(), AdjointIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::setup(), DiagonallyImplicitRKExport::solveImplicitSystem(), ImplicitRungeKuttaExport::solveImplicitSystem(), AdjointIRKExport::~AdjointIRKExport(), DiagonallyImplicitRKExport::~DiagonallyImplicitRKExport(), ForwardIRKExport::~ForwardIRKExport(), and ImplicitRungeKuttaExport::~ImplicitRungeKuttaExport().
ExportVariable ImplicitRungeKuttaExport::stepsH [protected, inherited] |
BooleanType IntegratorExport::timeDependant [protected, inherited] |
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), IntegratorExport::IntegratorExport(), ExplicitRungeKuttaExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), ExplicitRungeKuttaExport::setup(), and ImplicitRungeKuttaExport::setup().
std::vector<uint> ImplicitRungeKuttaExport::totalMeas [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::copy(), ImplicitRungeKuttaExport::evaluateDerivedPolynomial(), ImplicitRungeKuttaExport::evaluatePolynomial(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::prepareOutputEvaluation(), and ImplicitRungeKuttaExport::setupOutput().
Control IntegratorExport::u [protected, inherited] |
Referenced by ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), and ImplicitRungeKuttaExport::setupOutput().
BooleanType AlgorithmicBase::useModuleStandalone [protected, inherited] |
UserInteraction* AlgorithmicBase::userInteraction [protected, inherited] |
Referenced by AlgorithmicBase::addLogRecord(), AlgorithmicBase::addOption(), AlgorithmicBase::addOptionsList(), AlgorithmicBase::AlgorithmicBase(), AlgorithmicBase::get(), AlgorithmicBase::getAll(), ExplicitRungeKuttaExport::getCode(), AlgorithmicBase::getFirst(), ExplicitRungeKuttaExport::getFunctionDeclarations(), AlgorithmicBase::getLast(), AlgorithmicBase::getOptions(), AlgorithmicBase::haveOptionsChanged(), AlgorithmicBase::operator=(), AlgorithmicBase::plot(), AlgorithmicBase::printLogRecord(), AlgorithmicBase::replot(), AlgorithmicBase::set(), AlgorithmicBase::setAll(), ExplicitRungeKuttaExport::setDifferentialEquation(), AlgorithmicBase::setLast(), AlgorithmicBase::setOptions(), ExportGaussElim::setup(), ExportHouseholderQR::setup(), ImplicitRungeKuttaExport::setup(), SCPmethod::setup(), ExportGaussNewtonForces::setupQPInterface(), ExportGaussNewtonCN2::setupQPInterface(), ExportGaussNewtonCondensed::setupQPInterface(), CondensingBasedCPsolver::solveQP(), and AlgorithmicBase::~AlgorithmicBase().
DifferentialState IntegratorExport::x [protected, inherited] |
Referenced by NARXExport::formNARXpolynomial(), ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), NARXExport::setNARXmodel(), and ImplicitRungeKuttaExport::setupOutput().
AlgebraicState IntegratorExport::z [protected, inherited] |
Referenced by ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), ImplicitRungeKuttaExport::setup(), and ImplicitRungeKuttaExport::setupOutput().