ACADO Toolkit
1.2.0beta
Toolkit for Automatic Control and Dynamic Optimization
|
Allows to export a tailored explicit Runge-Kutta integrator for fast model predictive control. More...
#include <erk_export.hpp>
Public Member Functions | |
ExplicitRungeKuttaExport (UserInteraction *_userInteraction=0, const String &_commonHeaderName="") | |
Default constructor. | |
ExplicitRungeKuttaExport (const ExplicitRungeKuttaExport &arg) | |
Copy constructor (deep copy). | |
virtual | ~ExplicitRungeKuttaExport () |
Destructor. | |
virtual returnValue | setup () |
Initializes export of a tailored integrator. | |
virtual returnValue | setDifferentialEquation (const Expression &rhs) |
Assigns Differential Equation to be used by the integrator. | |
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 | 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 | 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 | setModel (const String &_name_ODE, const String &_name_diffs_ODE) |
Assigns the model to be used by the integrator. | |
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 | |
ExportVariable | getAuxVariable () const |
Returns the largest global export variable. | |
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. | |
Matrix | expandOutputMatrix (const Matrix &A3) |
| |
virtual returnValue | clear () |
Frees internal dynamic memory to yield an empty function. | |
virtual returnValue | prepareFullRhs () |
Prepares a function that evaluates the complete right-hand side. | |
uint | getIntegrationInterval (double time) |
Get the index of the integration interval, corresponding a certain time. | |
Protected Attributes | |
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 ExplicitRungeKuttaExport allows to export a tailored explicit Runge-Kutta integrator for fast model predictive control.
BEGIN_NAMESPACE_ACADO ExplicitRungeKuttaExport::ExplicitRungeKuttaExport | ( | UserInteraction * | _userInteraction = 0 , |
const String & | _commonHeaderName = "" |
||
) |
[in] | _userInteraction | Pointer to corresponding user interface. |
[in] | _commonHeaderName | Name of common header file to be included. |
[in] | arg | Right-hand side object. |
References RungeKuttaExport::copy().
ExplicitRungeKuttaExport::~ExplicitRungeKuttaExport | ( | ) | [virtual] |
References IntegratorExport::clear().
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(), ForwardIRKExport::~ForwardIRKExport(), ImplicitRungeKuttaExport::~ImplicitRungeKuttaExport(), IntegratorExport::~IntegratorExport(), NARXExport::~NARXExport(), and RungeKuttaExport::~RungeKuttaExport().
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(), 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.
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(), setup(), DiscreteTimeExport::setup(), ForwardIRKExport::setup(), AdjointIRKExport::setup(), ImplicitRungeKuttaExport::setup(), and SIMexport::setup().
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().
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 ExplicitRungeKuttaExport::getAuxVariable | ( | ) | const [protected, virtual] |
Implements IntegratorExport.
References IntegratorExport::diffs_rhs, and ExportAcadoFunction::getGlobalExportVariable().
Referenced by getDataDeclarations().
returnValue ExplicitRungeKuttaExport::getCode | ( | ExportStatementBlock & | code | ) | [virtual] |
[in] | code | Code block containing the auto-generated integrator. |
Implements RungeKuttaExport.
References ACADO_LOCAL, ExportStatementBlock::addComment(), ExportStatementBlock::addFunction(), ExportStatementBlock::addStatement(), CG_USE_OPENMP, IntegratorExport::diffs_rhs, IntegratorExport::exportRhs, GENERATE_MATLAB_INTERFACE, Options::get(), getDataDeclarations(), Grid::getFirstTime(), ExportData::getFullName(), ExportAcadoFunction::getGlobalExportVariable(), Grid::getLastTime(), String::getName(), Grid::getNumIntervals(), IntegratorExport::grid, IntegratorExport::integrate, IntegratorExport::rhs, RungeKuttaExport::rk_kkk, IntegratorExport::rk_ttt, IntegratorExport::rk_xxx, SUCCESSFUL_RETURN, and AlgorithmicBase::userInteraction.
returnValue ExplicitRungeKuttaExport::getDataDeclarations | ( | ExportStatementBlock & | declarations, |
ExportStruct | dataStruct = ACADO_ANY |
||
) | const [virtual] |
[in] | declarations | List of declarations. |
Implements RungeKuttaExport.
References ExportStatementBlock::addDeclaration(), IntegratorExport::exportRhs, getAuxVariable(), RungeKuttaExport::rk_kkk, IntegratorExport::rk_ttt, IntegratorExport::rk_xxx, and SUCCESSFUL_RETURN.
Referenced by 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 ExplicitRungeKuttaExport::getFunctionDeclarations | ( | ExportStatementBlock & | declarations | ) | const [virtual] |
[in] | declarations | List of declarations. |
Implements RungeKuttaExport.
References ExportStatementBlock::addDeclaration(), IntegratorExport::exportRhs, GENERATE_MATLAB_INTERFACE, Options::get(), IntegratorExport::getNameDiffsRHS(), IntegratorExport::getNameRHS(), IntegratorExport::integrate, IntegratorExport::rhs, SUCCESSFUL_RETURN, AlgorithmicBase::userInteraction, 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(), getFunctionDeclarations(), DiscreteTimeExport::getFunctionDeclarations(), 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(), 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 RungeKuttaExport::getNumStages | ( | ) | [inherited] |
References RungeKuttaExport::numStages.
Referenced by 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().
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 IntegratorExport::prepareFullRhs | ( | ) | [protected, virtual, inherited] |
Reimplemented in ImplicitRungeKuttaExport, and NARXExport.
References IntegratorExport::A11, acadoRoundAway(), ExportStatementBlock::addFunctionCall(), ExportStatementBlock::addStatement(), IntegratorExport::B11, IntegratorExport::fullRhs, ExportArgument::getAddress(), IntegratorExport::getNameOutputRHS(), IntegratorExport::getNameRHS(), ExportVariable::getRow(), ExportAlgorithm::NU, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, IntegratorExport::NX3, ExportAlgorithm::NXA, IntegratorExport::rhs_in, IntegratorExport::rhs_out, SUCCESSFUL_RETURN, and uint.
Referenced by DiscreteTimeExport::getCode().
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 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 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 ExplicitRungeKuttaExport::setDifferentialEquation | ( | const Expression & | rhs | ) | [virtual] |
[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, DYNAMIC_SENSITIVITY, forwardDerivative(), GENERATE_MATLAB_INTERFACE, Options::get(), Function::getNDX(), Function::getNT(), Expression::getNumRows(), ExportAcadoFunction::init(), ExportAlgorithm::NDX, NO_SENSITIVITY, ExportAlgorithm::NP, ExportAlgorithm::NU, ExportAlgorithm::NX, ExportAlgorithm::NXA, IntegratorExport::p, RET_INVALID_OPTION, IntegratorExport::rhs, SUCCESSFUL_RETURN, IntegratorExport::timeDependant, IntegratorExport::u, AlgorithmicBase::userInteraction, 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 ExplicitRungeKuttaExport::setLinearInput | ( | const Matrix & | M1, |
const Matrix & | A1, | ||
const Matrix & | B1 | ||
) | [virtual] |
[in] | . |
Reimplemented from IntegratorExport.
References ACADOERROR, and RET_INVALID_OPTION.
returnValue ExplicitRungeKuttaExport::setLinearOutput | ( | const Matrix & | M3, |
const Matrix & | A3, | ||
const Expression & | rhs | ||
) | [virtual] |
[in] | . |
Reimplemented from IntegratorExport.
References ACADOERROR, and RET_INVALID_OPTION.
returnValue ExplicitRungeKuttaExport::setLinearOutput | ( | const Matrix & | M3, |
const Matrix & | A3, | ||
const String & | _rhs3, | ||
const String & | _diffs_rhs3 | ||
) | [virtual] |
[in] | . |
Reimplemented from IntegratorExport.
References RET_INVALID_OPTION.
returnValue IntegratorExport::setModel | ( | const String & | _name_ODE, |
const String & | _name_diffs_ODE | ||
) | [virtual, inherited] |
[in] | _name_ODE | Name of the function, evaluating the ODE right-hand side. |
[in] | _name_diffs_ODE | Name of the function, evaluating the derivatives of the ODE right-hand side. |
Reimplemented in ImplicitRungeKuttaExport, and NARXExport.
References ACADOERROR, BT_FALSE, AlgebraicState::clearStaticCounters(), Control::clearStaticCounters(), Parameter::clearStaticCounters(), DifferentialStateDerivative::clearStaticCounters(), DifferentialState::clearStaticCounters(), IntegratorExport::dx, IntegratorExport::exportRhs, ExportAcadoFunction::getFunctionDim(), IntegratorExport::name_diffs_rhs, IntegratorExport::name_rhs, ExportAlgorithm::NDX, ExportAlgorithm::NP, ExportAlgorithm::NU, ExportAlgorithm::NX, IntegratorExport::NX1, IntegratorExport::NX2, IntegratorExport::NX3, ExportAlgorithm::NXA, IntegratorExport::p, RET_INVALID_OPTION, IntegratorExport::rhs, SUCCESSFUL_RETURN, IntegratorExport::u, IntegratorExport::x, and IntegratorExport::z.
Referenced by IntegratorExport::setModelData().
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 ExplicitRungeKuttaExport::setup | ( | ) | [virtual] |
Implements RungeKuttaExport.
References RungeKuttaExport::AA, ACADO_LOCAL, ACADO_WORKSPACE, ACADOERROR, ExportStatementBlock::addFunctionCall(), ExportFunction::addIndex(), ExportStatementBlock::addLinebreak(), ExportStatementBlock::addStatement(), RungeKuttaExport::bb, BT_TRUE, RungeKuttaExport::cc, CG_USE_OPENMP, IntegratorExport::diffs_rhs, ExportFunction::doc(), DYNAMIC_SENSITIVITY, IntegratorExport::equidistantControlGrid(), IntegratorExport::error_code, eye(), FORWARD, ExportArgument::getAddress(), ExportVariable::getCol(), ExportVariable::getCols(), VectorspaceElement::getDim(), Grid::getFirstTime(), ExportAcadoFunction::getGlobalExportVariable(), Grid::getLastTime(), ExportData::getName(), IntegratorExport::getNameDiffsRHS(), Grid::getNumIntervals(), RungeKuttaExport::getNumStages(), ExportVariable::getRow(), IntegratorExport::grid, IntegratorExport::inputDim, INT, IntegratorExport::integrate, LOG, LVL_DEBUG, Matrix::makeVector(), NO_SENSITIVITY, ExportAlgorithm::NP, ExportAlgorithm::NU, IntegratorExport::numSteps, ExportAlgorithm::NX, REAL, IntegratorExport::reset_int, RET_INVALID_OPTION, IntegratorExport::rk_eta, IntegratorExport::rk_index, RungeKuttaExport::rk_kkk, IntegratorExport::rk_ttt, IntegratorExport::rk_xxx, ExportData::setDataStruct(), ExportData::setDoc(), ExportAcadoFunction::setGlobalExportVariable(), ExportData::setName(), ExportFunction::setReturnValue(), ExportVariable::setup(), SUCCESSFUL_RETURN, IntegratorExport::timeDependant, Matrix::transpose(), uint, and zeros().
returnValue ExplicitRungeKuttaExport::setupOutput | ( | const std::vector< Grid > | outputGrids_, |
const std::vector< Expression > | rhs | ||
) | [virtual] |
outputGrids_ | The vector containing a grid for each output function. |
rhs | The expressions corresponding the output functions. |
Implements RungeKuttaExport.
References ACADOERROR, and RET_INVALID_OPTION.
returnValue ExplicitRungeKuttaExport::setupOutput | ( | const std::vector< Grid > | outputGrids_, |
const std::vector< String > | _outputNames, | ||
const std::vector< String > | _diffs_outputNames, | ||
const std::vector< uint > | _dims_output | ||
) | [virtual] |
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 ACADOERROR, and RET_INVALID_OPTION.
returnValue ExplicitRungeKuttaExport::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] |
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 ACADOERROR, and RET_INVALID_OPTION.
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 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(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), RungeKuttaExport::initializeButcherTableau(), ImplicitRungeKuttaExport::initializeCoefficients(), ImplicitRungeKuttaExport::initializeDDMatrix(), and setup().
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 IntegratorExport::crsFormat [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(), getAuxVariable(), ForwardIRKExport::getAuxVariable(), AdjointIRKExport::getAuxVariable(), ImplicitRungeKuttaExport::getAuxVariable(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), IntegratorExport::getNameDiffsRHS(), setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), NARXExport::setNARXmodel(), NARXExport::setup(), and 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 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(), getCode(), ImplicitRungeKuttaExport::getCode(), getDataDeclarations(), ImplicitRungeKuttaExport::getDataDeclarations(), IntegratorExport::getDimOUTPUT(), AdjointIRKExport::getFunctionDeclarations(), ForwardIRKExport::getFunctionDeclarations(), 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(), 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(), setup(), DiscreteTimeExport::setup(), ForwardIRKExport::setup(), and AdjointIRKExport::setup().
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(), 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(), getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), getFunctionDeclarations(), DiscreteTimeExport::getFunctionDeclarations(), ImplicitRungeKuttaExport::getFunctionDeclarations(), 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().
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(), setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), ExportAlgorithm::setDimensions(), IntegratorExport::setLinearOutput(), ImplicitRungeKuttaExport::setModel(), IntegratorExport::setModel(), ImplicitRungeKuttaExport::setup(), and ImplicitRungeKuttaExport::setupOutput().
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(), setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), ExportAlgorithm::setDimensions(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), ExportNLPSolver::setObjective(), 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(), setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), ExportAlgorithm::setDimensions(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), NARXExport::setNARXmodel(), ExportNLPSolver::setObjective(), 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] |
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(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), ImplicitRungeKuttaExport::setup(), AdjointIRKExport::setup(), ForwardIRKExport::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(), setup(), and DiscreteTimeExport::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(), setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), ExportAlgorithm::setDimensions(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), NARXExport::setNARXmodel(), ExportNLPSolver::setObjective(), NARXExport::setup(), 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(), 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] |
ExportVariable IntegratorExport::reset_int [protected, inherited] |
Referenced by AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ImplicitRungeKuttaExport::getCode(), DiscreteTimeExport::getDataDeclarations(), IntegratorExport::IntegratorExport(), NARXExport::setup(), setup(), DiscreteTimeExport::setup(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::solveImplicitSystem(), and ImplicitRungeKuttaExport::solveImplicitSystem().
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(), getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), getFunctionDeclarations(), DiscreteTimeExport::getFunctionDeclarations(), ImplicitRungeKuttaExport::getFunctionDeclarations(), IntegratorExport::getNameRHS(), 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 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 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 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(), 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(), getCode(), ImplicitRungeKuttaExport::getCode(), getDataDeclarations(), ImplicitRungeKuttaExport::getDataDeclarations(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), setup(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::solveImplicitSystem(), ImplicitRungeKuttaExport::solveImplicitSystem(), DiagonallyImplicitRKExport::solveInputSystem(), ImplicitRungeKuttaExport::solveInputSystem(), DiagonallyImplicitRKExport::solveOutputSystem(), and ImplicitRungeKuttaExport::solveOutputSystem().
ExportVariable IntegratorExport::rk_ttt [protected, inherited] |
Referenced by RungeKuttaExport::copy(), DiscreteTimeExport::copy(), ImplicitRungeKuttaExport::copy(), ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), getCode(), ImplicitRungeKuttaExport::getCode(), getDataDeclarations(), ImplicitRungeKuttaExport::getDataDeclarations(), 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(), getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), getDataDeclarations(), DiscreteTimeExport::getDataDeclarations(), ImplicitRungeKuttaExport::getDataDeclarations(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), setup(), NARXExport::setup(), DiscreteTimeExport::setup(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::solveInputSystem(), ImplicitRungeKuttaExport::solveInputSystem(), DiagonallyImplicitRKExport::solveOutputSystem(), and ImplicitRungeKuttaExport::solveOutputSystem().
BooleanType IntegratorExport::timeDependant [protected, inherited] |
Control IntegratorExport::u [protected, inherited] |
Referenced by 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(), getCode(), AlgorithmicBase::getFirst(), getFunctionDeclarations(), AlgorithmicBase::getLast(), AlgorithmicBase::getOptions(), AlgorithmicBase::haveOptionsChanged(), AlgorithmicBase::operator=(), AlgorithmicBase::plot(), AlgorithmicBase::printLogRecord(), AlgorithmicBase::replot(), AlgorithmicBase::set(), AlgorithmicBase::setAll(), setDifferentialEquation(), AlgorithmicBase::setLast(), AlgorithmicBase::setOptions(), ExportGaussElim::setup(), ExportHouseholderQR::setup(), ImplicitRungeKuttaExport::setup(), SCPmethod::setup(), ExportGaussNewtonCN2::setupQPInterface(), ExportGaussNewtonForces::setupQPInterface(), ExportGaussNewtonCondensed::setupQPInterface(), CondensingBasedCPsolver::solveQP(), and AlgorithmicBase::~AlgorithmicBase().
DifferentialState IntegratorExport::x [protected, inherited] |
Referenced by NARXExport::formNARXpolynomial(), 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 setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), ImplicitRungeKuttaExport::setup(), and ImplicitRungeKuttaExport::setupOutput().