ACADO Toolkit
1.2.0beta
Toolkit for Automatic Control and Dynamic Optimization
|
Base class for all kinds of Runge-Kutta schemes for integrating ODEs. More...
#include <integrator_lyapunov.hpp>
Public Member Functions | |
IntegratorLYAPUNOV () | |
Default constructor. | |
IntegratorLYAPUNOV (int dim_, double power_) | |
Default constructor. | |
IntegratorLYAPUNOV (const DifferentialEquation &rhs_, int dim_, double power_) | |
Default constructor. | |
IntegratorLYAPUNOV (const IntegratorLYAPUNOV &arg) | |
Copy constructor (deep copy). | |
virtual | ~IntegratorLYAPUNOV () |
Destructor. | |
virtual IntegratorLYAPUNOV & | operator= (const IntegratorLYAPUNOV &arg) |
Assignment operator (deep copy). | |
virtual Integrator * | clone () const =0 |
The (virtual) copy constructor. | |
virtual returnValue | init (const DifferentialEquation &rhs_) |
The initialization routine which takes the right-hand side of the differential equation to be integrated. | |
returnValue | init (const DifferentialEquation &rhs_, const Transition &trs_) |
The initialization routine which takes the right-hand side of the differential equation to be integrated. | |
virtual returnValue | freezeMesh () |
Freezes the mesh: Storage of the step sizes. | |
virtual returnValue | freezeAll () |
Freezes the mesh as well as all intermediate values. | |
virtual returnValue | unfreeze () |
Unfreezes the mesh: Gives the memory free that has previously been allocated by "freeze". | |
virtual returnValue | step (int number) |
Executes the next single step. | |
virtual returnValue | stop () |
Stops the integration even if the final time has not been reached yet. | |
virtual returnValue | setDxInitialization (double *dx0) |
Sets an initial guess for the differential state derivatives (consistency condition) . | |
virtual int | getNumberOfSteps () const |
Returns the number of accepted Steps. | |
virtual int | getNumberOfRejectedSteps () const |
Returns the number of rejected Steps. | |
virtual double | getStepSize () const |
Returns the current step size. | |
returnValue | setTransition (const Transition &trs) |
returnValue | integrate (double t0, double tend, double *x0, double *xa=0, double *p=0, double *u=0, double *w=0) |
Starts the integration of the right hand side at time t0. | |
returnValue | integrate (const Grid &t, double *x0, double *xa=0, double *p=0, double *u=0, double *w=0) |
Starts the integration of the right hand side at time t0. | |
returnValue | integrate (double t0, double tend, const Vector &x0, const Vector &xa=emptyVector, const Vector &p=emptyVector, const Vector &u=emptyVector, const Vector &w=emptyVector) |
Starts the integration of the right hand side at time t0. | |
returnValue | integrate (const Grid &t, const Vector &x0, const Vector &xa=emptyVector, const Vector &p=emptyVector, const Vector &u=emptyVector, const Vector &w=emptyVector) |
Starts the integration of the right hand side at time t0. | |
returnValue | setForwardSeed (const int &order, const Vector &xSeed, const Vector &pSeed=emptyVector, const Vector &uSeed=emptyVector, const Vector &wSeed=emptyVector) |
Define a forward seed matrix. | |
returnValue | setBackwardSeed (const int &order, const Vector &seed) |
Define a backward seed . | |
virtual returnValue | deleteAllSeeds () |
Deletes all seeds that have been set with the methods above. | |
returnValue | integrateSensitivities () |
< Integrates forward and/or backward depending on the specified seeds. | |
returnValue | getX (Vector &xEnd) const |
Returns the result for the differential states at the time tend. | |
returnValue | getX (VariablesGrid &X) const |
Returns the requested output on the specified grid. | |
returnValue | getXA (Vector &xaEnd) const |
Returns the result for the algebraic states at the time tend. | |
returnValue | getXA (VariablesGrid &XA) const |
Returns the requested output on the specified grid. | |
returnValue | getI (VariablesGrid &I) const |
Returns the requested output on the specified grid. | |
returnValue | getForwardSensitivities (Vector &Dx, int order) const |
Returns the result for the forward sensitivities at the time tend. | |
returnValue | getForwardSensitivities (VariablesGrid &Dx, int order) const |
Returns the result for the forward sensitivities on the grid. | |
returnValue | getBackwardSensitivities (Vector &Dx_x0, Vector &Dx_p, Vector &Dx_u, Vector &Dx_w, int order) const |
Returns the result for the backward sensitivities at the time tend. | |
virtual BooleanType | canHandleImplicitSwitches () const |
Returns if integrator is able to handle implicit switches. | |
virtual BooleanType | isDifferentialEquationDefined () const |
Returns if the differential equation of the integrator is defined. | |
virtual BooleanType | isDifferentialEquationAffine () const |
Returns if the differential equation of the integrator is affine. | |
virtual double | getDifferentialEquationSampleTime () const |
Returns the. | |
virtual returnValue | printRunTimeProfile () const |
Prints the run-time profile. | |
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 | |
virtual returnValue | evaluateSensitivities () |
< Integrates forward and/or backward depending on the specified seeds. | |
virtual int | getDim () const |
Returns the dimension of the Differential Equation. | |
virtual returnValue | evaluate (const Vector &x0, const Vector &xa, const Vector &p, const Vector &u, const Vector &w, const Grid &t_) |
Starts integration: cf. | |
virtual returnValue | setProtectedForwardSeed (const Vector &xSeed, const Vector &pSeed, const Vector &uSeed, const Vector &wSeed, const int &order) |
Define a forward seed. | |
virtual returnValue | setProtectedBackwardSeed (const Vector &seed, const int &order) |
Define a backward seed . | |
virtual returnValue | getProtectedX (Vector *xEnd) const |
Returns the result for the state at the time tend. | |
virtual returnValue | getProtectedForwardSensitivities (Matrix *Dx, int order) const |
Returns the result for the forward sensitivities at the time tend. | |
virtual returnValue | getProtectedBackwardSensitivities (Vector &Dx_x0, Vector &Dx_p, Vector &Dx_u, Vector &Dx_w, int order) const |
Returns the result for the backward sensitivities at the time tend. | |
void | deleteAll () |
Implementation of the delete operator. | |
void | constructAll (const IntegratorLYAPUNOV &arg) |
Implementation of the copy constructor. | |
void | allocateMemory () |
This routine is protected and sets up all variables (i.e. | |
void | initializeVariables () |
This routine is protected and is basically used to set all pointer-valued member to the NULL pointer. | |
virtual void | initializeButcherTableau ()=0 |
This routine initializes the coefficients of the Butcher Tableau. | |
double | determineEta45 () |
computes eta4 and eta5 (only for internal use) | |
double | determineEta45 (int number) |
computes eta4 and eta5 (only for internal use) | |
void | determineEtaGForward (int number) |
computes etaG in forward direction (only for internal use) | |
void | determineEtaGForward2 (int number) |
computes etaG and etaG2 in forward direction (only for internal use) | |
void | determineEtaHBackward (int number) |
computes etaH in backward direction (only for internal use) | |
void | determineEtaHBackward2 (int number) |
computes etaH2 in backward direction (only for internal use) | |
void | printIntermediateResults () |
prints intermediate results for the case that the PrintLevel is HIGH. | |
returnValue | setForwardSeed2 (const Vector &xSeed, const Vector &pSeed, const Vector &uSeed, const Vector &wSeed) |
Initializes a second forward seed. | |
virtual returnValue | setBackwardSeed2 (const Vector &seed) |
Initializes a second backward seed. | |
void | interpolate (int jj, double *e1, double *d1, double *e2, VariablesGrid &poly) |
void | logCurrentIntegratorStep (const Vector ¤tX=emptyConstVector) |
virtual returnValue | setupOptions () |
virtual returnValue | evaluateTransition (const double time, Vector &xd, const Vector &xa, const Vector &p, const Vector &u, const Vector &w) |
Evaluates the transtion (protected, only for internal use). | |
virtual returnValue | diffTransitionForward (Vector &DX, const Vector &DP, const Vector &DU, const Vector &DW, const int &order) |
virtual returnValue | diffTransitionBackward (Vector &DX, Vector &DP, Vector &DU, Vector &DW, int &order) |
virtual int | getDimX () const |
Returns the number of Dynamic Equations in the Differential Equation. | |
void | initializeOptions () |
Initializes the options. | |
virtual returnValue | setupLogging () |
Protected Attributes | |
int | dim |
the dimension of the Butcher Tableau. | |
double ** | A |
the coefficient A of the Butcher Tableau. | |
double * | b4 |
the 4th order coefficients of the Butcher Tableau. | |
double * | b5 |
the 5th order coefficients of the Butcher Tableau. | |
double * | c |
the time coefficients of the Butcher Tableau. | |
double * | eta4 |
the result of order 4 | |
double * | eta5 |
the result of order 5 | |
double * | eta4_ |
the result of order 4 | |
double * | eta5_ |
the result of order 5 | |
double ** | k |
the intermediate results | |
double ** | k2 |
the intermediate results | |
double ** | l |
the intermediate results | |
double ** | l2 |
the intermediate results | |
double | t |
the actual time | |
double * | x |
the actual state (only internal use) | |
double | err_power |
root order of the step size control | |
Vector | fseed |
The forward seed (only internal use) | |
Vector | bseed |
The backward seed (only internal use) | |
Vector | fseed2 |
The forward seed 2 (only internal use) | |
Vector | bseed2 |
The backward seed 2 (only internal use) | |
double * | G |
Sensitivity matrix (only internal use) | |
double * | etaG |
Sensitivity matrix (only internal use) | |
double * | G2 |
Sensitivity matrix (only internal use) | |
double * | G3 |
Sensitivity matrix (only internal use) | |
double * | etaG2 |
Sensitivity matrix (only internal use) | |
double * | etaG3 |
Sensitivity matrix (only internal use) | |
double * | H |
Sensitivity matrix (only internal use) | |
double * | etaH |
Sensitivity matrix (only internal use) | |
double * | H2 |
Sensitivity matrix (only internal use) | |
double * | H3 |
Sensitivity matrix (only internal use) | |
double * | etaH2 |
Sensitivity matrix (only internal use) | |
double * | etaH3 |
Sensitivity matrix (only internal use) | |
int | maxAlloc |
size of the memory that is allocated to store the trajectory and the mesh. | |
int | dimxmy |
int | dimu |
int | dimp |
int | dimw |
double ** | Y |
double * | seedmy |
Lyapunov | lyap |
DifferentialEquation * | rhs |
the right-hand side to be integrated | |
short int | m |
the dimension of the right-hand side | |
short int | ma |
the number of algebraic states | |
short int | mdx |
the dimension of differential state derivatives | |
short int | mn |
the number of intermediate states in the rhs | |
short int | mu |
the number of controls | |
short int | mui |
the number of integer controls | |
short int | mp |
the number of parameters | |
short int | mpi |
the number of integer parameters | |
short int | mw |
the number of disturbances | |
short int | md |
number of differential states | |
Transition * | transition |
the transition to be evaluated at switches | |
double * | h |
the initial step size = h[0] | |
double | hini |
storage of the initial step size | |
double | hmin |
the minimum step size | |
double | hmax |
the maximum step size | |
double | tune |
tuning parameter for the step size control. | |
double | TOL |
the integration tolerance | |
int | las |
Grid | timeInterval |
the type of linear algebra solver to be used | |
int * | diff_index |
the index list for the differential states | |
int * | ddiff_index |
the index list for the differential state derivatives | |
int * | alg_index |
the index list for the algebraic states | |
int * | control_index |
the index list for the controls | |
int * | parameter_index |
the index list for the parameters | |
int * | int_control_index |
the index list for the integer controls | |
int * | int_parameter_index |
the index list for the integer parameters | |
int * | disturbance_index |
the index list for the disturbances | |
int | time_index |
the time index | |
int | maxNumberOfSteps |
the maximum number of integrator steps. | |
int | count |
a counter of the (accepted) steps | |
int | count2 |
number of steps after integration | |
int | count3 |
number of steps after integration | |
Vector | diff_scale |
the scale of the differential states | |
int | PrintLevel |
The PrintLevel (default: LOW) | |
int | nFDirs |
The number of forward directions. | |
int | nBDirs |
The number of backward directions. | |
int | nFDirs2 |
The number of second order forward directions. | |
int | nBDirs2 |
The number of second order backward directions. | |
StateOfAggregation | soa |
the state of aggregation | |
RealClock | totalTime |
RealClock | functionEvaluation |
int | nFcnEvaluations |
Vector | xE |
Vector | dX |
Vector | dP |
Vector | dU |
Vector | dW |
Vector | dXb |
Vector | dPb |
Vector | dUb |
Vector | dWb |
VariablesGrid | xStore |
VariablesGrid | dxStore |
VariablesGrid | ddxStore |
VariablesGrid | iStore |
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 IntegratorRK serves as a base class for all kinds of Runge-Kutta schemes for integrating ordinary differential equations (ODEs).
IntegratorLYAPUNOV::IntegratorLYAPUNOV | ( | int | dim_, |
double | power_ | ||
) |
IntegratorLYAPUNOV::IntegratorLYAPUNOV | ( | const DifferentialEquation & | rhs_, |
int | dim_, | ||
double | power_ | ||
) |
IntegratorLYAPUNOV::IntegratorLYAPUNOV | ( | const IntegratorLYAPUNOV & | arg | ) |
References constructAll().
IntegratorLYAPUNOV::~IntegratorLYAPUNOV | ( | ) | [virtual] |
References deleteAll().
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().
void IntegratorLYAPUNOV::allocateMemory | ( | ) | [protected] |
allocates memory etc.).
Note that this routine assumes that the
dimensions are already set correctly and is
thus for internal use only.
References ACADOERROR, ASSERT, Integrator::control_index, Integrator::diff_index, Integrator::diff_scale, dim, dimp, dimu, dimw, dimxmy, Integrator::disturbance_index, eta4, eta4_, eta5, eta5_, etaG, etaG2, etaG3, etaH, etaH2, etaH3, G, G2, G3, Function::getNDX(), Function::getNumberOfVariables(), Function::getNXA(), DifferentialEquation::getStateEnumerationIndex(), H, H2, H3, Function::index(), VectorspaceElement::init(), Integrator::int_control_index, Integrator::int_parameter_index, k, k2, l, l2, Integrator::m, maxAlloc, Integrator::mp, Integrator::mpi, Integrator::mu, Integrator::mui, Integrator::mw, Integrator::parameter_index, RET_RK45_CAN_NOT_TREAT_DAE, RET_TRIVIAL_RHS, Integrator::rhs, Function::scale(), seedmy, t, Integrator::time_index, VT_CONTROL, VT_DIFFERENTIAL_STATE, VT_DISTURBANCE, VT_INTEGER_CONTROL, VT_INTEGER_PARAMETER, VT_PARAMETER, VT_TIME, x, and Y.
Referenced by init().
BooleanType Integrator::canHandleImplicitSwitches | ( | ) | const [virtual, inherited] |
References BT_FALSE.
virtual Integrator* IntegratorLYAPUNOV::clone | ( | ) | const [pure virtual] |
Implements Integrator.
Implemented in IntegratorLYAPUNOV45.
void IntegratorLYAPUNOV::constructAll | ( | const IntegratorLYAPUNOV & | arg | ) | [protected] |
References A, ACADOERROR, Integrator::alg_index, ASSERT, b4, b5, c, Integrator::control_index, Integrator::count, Integrator::count2, Integrator::count3, Integrator::ddiff_index, Integrator::diff_index, Integrator::diff_scale, dim, dimp, dimu, dimw, dimxmy, Integrator::disturbance_index, err_power, eta4, eta4_, eta5, eta5_, etaG, etaG2, etaG3, etaH, etaH2, etaH3, G, G2, G3, Function::getNumberOfVariables(), H, Integrator::h, H2, H3, Integrator::hini, Integrator::hmax, Integrator::hmin, Integrator::int_control_index, Integrator::int_parameter_index, k, k2, l, l2, lyap, Integrator::m, Integrator::ma, maxAlloc, Integrator::maxNumberOfSteps, Integrator::mn, Integrator::mp, Integrator::mpi, Integrator::mu, Integrator::mui, Integrator::mw, Integrator::nBDirs, Integrator::nBDirs2, Integrator::nFDirs, Integrator::nFDirs2, Integrator::parameter_index, Integrator::PrintLevel, RET_TRIVIAL_RHS, Integrator::rhs, seedmy, Integrator::soa, t, Integrator::time_index, Integrator::TOL, Integrator::tune, x, and Y.
Referenced by IntegratorLYAPUNOV(), and operator=().
void IntegratorLYAPUNOV::deleteAll | ( | ) | [protected] |
returnValue Integrator::deleteAllSeeds | ( | ) | [virtual, inherited] |
This function will also give the corresponding memory free.
References Integrator::nBDirs, Integrator::nBDirs2, Integrator::nFDirs, Integrator::nFDirs2, and SUCCESSFUL_RETURN.
double IntegratorLYAPUNOV::determineEta45 | ( | ) | [protected] |
References A, ACADOERROR, b4, b5, c, Integrator::diff_index, Integrator::diff_scale, dim, EPS, eta4, eta4_, eta5, evaluate(), Integrator::functionEvaluation, Integrator::h, k, Integrator::m, Integrator::nFcnEvaluations, RET_UNSUCCESSFUL_RETURN_FROM_INTEGRATOR_RK45, Integrator::rhs, RealClock::start(), RealClock::stop(), SUCCESSFUL_RETURN, t, Integrator::time_index, and x.
Referenced by step().
double IntegratorLYAPUNOV::determineEta45 | ( | int | number | ) | [protected] |
References A, ACADOERROR, b4, b5, c, Integrator::diff_index, Integrator::diff_scale, dim, EPS, eta4, eta4_, eta5, evaluate(), Integrator::functionEvaluation, Integrator::h, k, Integrator::m, Integrator::nFcnEvaluations, RET_UNSUCCESSFUL_RETURN_FROM_INTEGRATOR_RK45, Integrator::rhs, RealClock::start(), RealClock::stop(), SUCCESSFUL_RETURN, t, Integrator::time_index, and x.
void IntegratorLYAPUNOV::determineEtaGForward | ( | int | number | ) | [protected] |
References A, ACADOERROR, b4, Integrator::diff_index, dim, etaG, G, Integrator::h, k, Integrator::m, RET_UNSUCCESSFUL_RETURN_FROM_INTEGRATOR_RK45, Integrator::rhs, and SUCCESSFUL_RETURN.
Referenced by step().
void IntegratorLYAPUNOV::determineEtaGForward2 | ( | int | number | ) | [protected] |
References A, ACADOERROR, b4, Integrator::diff_index, dim, etaG2, etaG3, G2, G3, Integrator::h, k, k2, Integrator::m, RET_UNSUCCESSFUL_RETURN_FROM_INTEGRATOR_RK45, Integrator::rhs, and SUCCESSFUL_RETURN.
Referenced by step().
void IntegratorLYAPUNOV::determineEtaHBackward | ( | int | number | ) | [protected] |
References A, ACADOERROR, b4, Integrator::diff_index, dim, etaH, Function::getNumberOfVariables(), H, Integrator::h, l, Integrator::m, IntegratorBDF::ndir, RET_UNSUCCESSFUL_RETURN_FROM_INTEGRATOR_RK45, Integrator::rhs, and SUCCESSFUL_RETURN.
Referenced by step().
void IntegratorLYAPUNOV::determineEtaHBackward2 | ( | int | number | ) | [protected] |
References A, ACADOERROR, b4, Integrator::diff_index, dim, etaH2, etaH3, Function::getNumberOfVariables(), Integrator::h, H2, H3, l, l2, Integrator::m, IntegratorBDF::ndir, RET_UNSUCCESSFUL_RETURN_FROM_INTEGRATOR_RK45, Integrator::rhs, and SUCCESSFUL_RETURN.
Referenced by step().
returnValue Integrator::diffTransitionBackward | ( | Vector & | DX, |
Vector & | DP, | ||
Vector & | DU, | ||
Vector & | DW, | ||
int & | order | ||
) | [protected, virtual, inherited] |
References ACADOERROR, Function::AD_backward(), ASSERT, VectorspaceElement::getDim(), RET_NOT_IMPLEMENTED_YET, SUCCESSFUL_RETURN, and Integrator::transition.
Referenced by Integrator::integrateSensitivities().
returnValue Integrator::diffTransitionForward | ( | Vector & | DX, |
const Vector & | DP, | ||
const Vector & | DU, | ||
const Vector & | DW, | ||
const int & | order | ||
) | [protected, virtual, inherited] |
returnValue IntegratorLYAPUNOV::evaluate | ( | const Vector & | x0, |
const Vector & | xa, | ||
const Vector & | p, | ||
const Vector & | u, | ||
const Vector & | w, | ||
const Grid & | t_ | ||
) | [protected, virtual] |
integrate(...) for
more details.
x0 | the initial state |
xa | the initial algebraic state |
p | the parameters |
u | the controls |
w | the disturbance |
t_ | the time interval |
Implements Integrator.
References ABSOLUTE_TOLERANCE, ACADOERROR, acadoPrintCopyrightNotice(), acadoPrintf(), ACADOWARNING, BT_TRUE, Integrator::control_index, Integrator::count, Integrator::count2, Integrator::count3, Integrator::diff_index, Integrator::diff_scale, Integrator::disturbance_index, EPS, eta4, eta5, etaG, fabs(), fseed, Integrator::functionEvaluation, VectorspaceElement::getDim(), Grid::getFirstTime(), Grid::getLastTime(), getNumberOfRejectedSteps(), Clock::getTime(), Integrator::h, HIGH, Integrator::hini, VariablesGrid::init(), Integrator::initializeOptions(), VectorspaceElement::isEmpty(), Integrator::iStore, LOG_NUMBER_OF_BDF_INTEGRATOR_JACOBIAN_EVALUATIONS, LOG_NUMBER_OF_INTEGRATOR_FUNCTION_EVALUATIONS, LOG_NUMBER_OF_INTEGRATOR_REJECTED_STEPS, LOG_NUMBER_OF_INTEGRATOR_STEPS, LOG_TIME_BDF_INTEGRATOR_JACOBIAN_DECOMPOSITION, LOG_TIME_BDF_INTEGRATOR_JACOBIAN_EVALUATION, LOG_TIME_INTEGRATOR, LOG_TIME_INTEGRATOR_FUNCTION_EVALUATIONS, Integrator::m, Integrator::maxNumberOfSteps, MEDIUM, Integrator::mn, Integrator::mp, Integrator::mu, Integrator::mw, Integrator::nFcnEvaluations, Integrator::nFDirs, NONE, Integrator::parameter_index, PRINT_INTEGRATOR_PROFILE, printIntermediateResults(), Integrator::printRunTimeProfile(), RET_FINAL_STEP_NOT_PERFORMED_YET, RET_INPUT_HAS_WRONG_DIMENSION, RET_MAX_NUMBER_OF_STEPS_EXCEEDED, RET_MISSING_INPUTS, RET_RK45_CAN_NOT_TREAT_DAE, RET_TO_SMALL_OR_NEGATIVE_TIME_INTERVAL, RET_TRIVIAL_RHS, Integrator::rhs, AlgorithmicBase::setLast(), Integrator::soa, SOA_EVERYTHING_FROZEN, SOA_MESH_FROZEN, SOA_MESH_FROZEN_FREEZING_ALL, RealClock::start(), step(), RealClock::stop(), t, Integrator::time_index, Integrator::timeInterval, Integrator::TOL, Integrator::totalTime, x, and Integrator::xStore.
Referenced by determineEta45().
returnValue IntegratorLYAPUNOV::evaluateSensitivities | ( | ) | [protected, virtual] |
Implements Integrator.
References ACADOERROR, bseed, bseed2, Integrator::count, Integrator::ddxStore, Integrator::diff_index, Integrator::dxStore, etaG, etaG2, etaG3, etaH, etaH2, etaH3, fseed, fseed2, getDim(), Grid::getFirstTime(), Function::getNumberOfVariables(), HIGH, VariablesGrid::init(), lyap, Integrator::m, Integrator::maxNumberOfSteps, MEDIUM, Integrator::nBDirs, Integrator::nBDirs2, Integrator::nFDirs, Integrator::nFDirs2, NONE, printIntermediateResults(), RET_FINAL_STEP_NOT_PERFORMED_YET, RET_MAX_NUMBER_OF_STEPS_EXCEEDED, RET_NOT_FROZEN, RET_TRIVIAL_RHS, Integrator::rhs, Integrator::soa, SOA_EVERYTHING_FROZEN, step(), SUCCESSFUL_RETURN, t, Integrator::timeInterval, Lyapunov::x1, Lyapunov::x2, and Y.
returnValue Integrator::evaluateTransition | ( | const double | time, |
Vector & | xd, | ||
const Vector & | xa, | ||
const Vector & | p, | ||
const Vector & | u, | ||
const Vector & | w | ||
) | [protected, virtual, inherited] |
time | the time |
xd | the state |
xa | the algebraic state |
p | the parameters |
u | the controls |
w | the disturbance |
References ASSERT, Function::evaluate(), VectorspaceElement::getDim(), EvaluationPoint::setT(), SUCCESSFUL_RETURN, and Integrator::transition.
Referenced by Integrator::integrate().
returnValue IntegratorLYAPUNOV::freezeAll | ( | ) | [virtual] |
This function
is necessary for the case that automatic differentiation in backward
mode should is used. (Note: This function might for large right hand
sides lead to memory problems as all intemediate values will be
stored!)
Implements Integrator.
References ACADOWARNING, NONE, RET_ALREADY_FROZEN, Integrator::soa, SOA_FREEZING_ALL, SOA_UNFROZEN, and SUCCESSFUL_RETURN.
returnValue IntegratorLYAPUNOV::freezeMesh | ( | ) | [virtual] |
If the integrator is
freezed the mesh will be stored when calling the function integrate
for the first time. If the function integrate is called more than
once the same mesh will be reused (i.e. the step size control will
be turned off). Note that the mesh should be frozen if any kind of
sensitivity generation is used.
Implements Integrator.
References ACADOWARNING, NONE, RET_ALREADY_FROZEN, Integrator::soa, SOA_FREEZING_MESH, SOA_UNFROZEN, and SUCCESSFUL_RETURN.
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.
returnValue Integrator::getBackwardSensitivities | ( | Vector & | Dx_x0, |
Vector & | Dx_p, | ||
Vector & | Dx_u, | ||
Vector & | Dx_w, | ||
int | order | ||
) | const [inherited] |
Dx_x0 | backward sensitivities w.r.t. the initial states |
Dx_p | backward sensitivities w.r.t. the parameters |
Dx_u | backward sensitivities w.r.t. the controls |
Dx_w | backward sensitivities w.r.t. the disturbance |
References Integrator::dPb, Integrator::dUb, Integrator::dWb, DifferentialEquation::getDifferentialStateComponents(), Function::getDim(), VectorspaceElement::getDim(), Integrator::getProtectedBackwardSensitivities(), Integrator::rhs, and VectorspaceElement::setZero().
double Integrator::getDifferentialEquationSampleTime | ( | ) | const [virtual, inherited] |
References DifferentialEquation::getStepLength(), INFTY, and Integrator::rhs.
int IntegratorLYAPUNOV::getDim | ( | ) | const [protected, virtual] |
Implements Integrator.
References Integrator::m.
Referenced by evaluateSensitivities(), getProtectedX(), and init().
int Integrator::getDimX | ( | ) | const [protected, virtual, inherited] |
Reimplemented in IntegratorBDF.
References Integrator::getDim().
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 Integrator::getForwardSensitivities | ( | Vector & | Dx, |
int | order | ||
) | const [inherited] |
Dx | the result for the forward sensitivities. |
order | the order. |
References Integrator::dX, and SUCCESSFUL_RETURN.
returnValue Integrator::getForwardSensitivities | ( | VariablesGrid & | Dx, |
int | order | ||
) | const [inherited] |
Dx | the result for the forward sensitivities. |
order | the order. |
References Integrator::ddxStore, Integrator::dxStore, and SUCCESSFUL_RETURN.
returnValue Integrator::getI | ( | VariablesGrid & | I | ) | const [inline, inherited] |
The intermediate states constructed based on linear
interpolation.
I | the intermediates states on the grid. |
References Integrator::iStore, and SUCCESSFUL_RETURN.
Referenced by ShootingMethod::logTrajectory().
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.
int IntegratorLYAPUNOV::getNumberOfRejectedSteps | ( | ) | const [virtual] |
Implements Integrator.
References Integrator::count3.
Referenced by evaluate().
int IntegratorLYAPUNOV::getNumberOfSteps | ( | ) | const [virtual] |
Implements Integrator.
References Integrator::count2.
Options AlgorithmicBase::getOptions | ( | uint | idx | ) | const [inherited] |
[in] | idx | Index of option list. |
References Options::getOptions(), and AlgorithmicBase::userInteraction.
Referenced by ShootingMethod::evaluate().
returnValue IntegratorLYAPUNOV::getProtectedBackwardSensitivities | ( | Vector & | Dx_x0, |
Vector & | Dx_p, | ||
Vector & | Dx_u, | ||
Vector & | Dx_w, | ||
int | order | ||
) | const [protected, virtual] |
Dx_x0 | backward sensitivities w.r.t. the initial states |
Dx_p | backward sensitivities w.r.t. the parameters |
Dx_u | backward sensitivities w.r.t. the controls |
Dx_w | backward sensitivities w.r.t. the disturbance |
order | the order of the derivative |
Implements Integrator.
References ACADOERROR, Integrator::control_index, Integrator::diff_index, Integrator::disturbance_index, etaH, etaH2, etaH3, VectorspaceElement::getDim(), Integrator::m, Integrator::mp, Integrator::mu, Integrator::mw, Integrator::nBDirs2, Integrator::parameter_index, RET_INPUT_OUT_OF_RANGE, and SUCCESSFUL_RETURN.
returnValue IntegratorLYAPUNOV::getProtectedForwardSensitivities | ( | Matrix * | Dx, |
int | order | ||
) | const [protected, virtual] |
Dx | the result for the forward sensitivi- ties |
order | the order |
Implements Integrator.
References ACADOERROR, etaG, etaG2, etaG3, Integrator::m, Integrator::nFDirs2, RET_INPUT_OUT_OF_RANGE, and SUCCESSFUL_RETURN.
returnValue IntegratorLYAPUNOV::getProtectedX | ( | Vector * | xEnd | ) | const [protected, virtual] |
xEnd | the result for the states at the time tend. |
Implements Integrator.
References eta4, getDim(), Integrator::m, RET_INPUT_HAS_WRONG_DIMENSION, and SUCCESSFUL_RETURN.
double IntegratorLYAPUNOV::getStepSize | ( | ) | const [virtual] |
Implements Integrator.
References Integrator::h.
BEGIN_NAMESPACE_ACADO returnValue Integrator::getX | ( | Vector & | xEnd | ) | const [inline, inherited] |
xEnd | the result for the states at the time tend. |
References Function::getDim(), VectorspaceElement::init(), Integrator::ma, DynamicDiscretization::N, Integrator::rhs, SUCCESSFUL_RETURN, and Integrator::xE.
Referenced by ShootingMethod::evaluate(), and ShootingMethod::logTrajectory().
returnValue Integrator::getX | ( | VariablesGrid & | X | ) | const [inline, inherited] |
Note
that the output X will be evaluated based on polynomial
interpolation depending on the order of the integrator.
X | the differential states on the grid. |
References ASSERT, DifferentialEquation::getDifferentialStateComponents(), Grid::getNumPoints(), MatrixVariablesGrid::getNumValues(), MatrixVariablesGrid::getTimePoints(), VariablesGrid::init(), Integrator::m, Integrator::ma, Integrator::rhs, SUCCESSFUL_RETURN, uint, and Integrator::xStore.
returnValue Integrator::getXA | ( | Vector & | xaEnd | ) | const [inline, inherited] |
xaEnd | the result for the algebraic states at the time tend. |
References Function::getDim(), VectorspaceElement::init(), Integrator::ma, DynamicDiscretization::N, Integrator::rhs, SUCCESSFUL_RETURN, and Integrator::xE.
Referenced by ShootingMethod::evaluate(), and ShootingMethod::logTrajectory().
returnValue Integrator::getXA | ( | VariablesGrid & | XA | ) | const [inline, inherited] |
Note
that the output X will be evaluated based on polynomial
interpolation depending on the order of the integrator.
XA | the algebraic states on the grid. |
References Grid::getNumPoints(), MatrixVariablesGrid::getNumValues(), MatrixVariablesGrid::getTimePoints(), VariablesGrid::init(), Integrator::ma, Integrator::md, SUCCESSFUL_RETURN, uint, and Integrator::xStore.
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 IntegratorLYAPUNOV::init | ( | const DifferentialEquation & | rhs_ | ) | [virtual] |
rhs | the right-hand side of the ODE/DAE. |
Implements Integrator.
References allocateMemory(), dimp, dimu, dimw, dimxmy, Function::getDim(), getDim(), DifferentialEquation::getLyapunovObject(), Function::getN(), Function::getNP(), Function::getNPI(), Function::getNU(), Function::getNUI(), Function::getNW(), lyap, Integrator::m, Integrator::ma, Integrator::mn, Integrator::mp, Integrator::mpi, Integrator::mu, Integrator::mui, Integrator::mw, Lyapunov::p, Integrator::rhs, SUCCESSFUL_RETURN, Lyapunov::u, Lyapunov::w, Lyapunov::x1, and Lyapunov::x2.
Referenced by init(), and IntegratorLYAPUNOV().
BEGIN_NAMESPACE_ACADO returnValue IntegratorLYAPUNOV::init | ( | const DifferentialEquation & | rhs_, |
const Transition & | trs_ | ||
) | [inline] |
In addition a
transition function can be set which is evaluated at the end
of the integration interval.
rhs | the right-hand side of the ODE/DAE. |
trs | the transition to be evaluated at the end. |
Reimplemented from Integrator.
References init().
virtual void IntegratorLYAPUNOV::initializeButcherTableau | ( | ) | [protected, pure virtual] |
Implemented in IntegratorLYAPUNOV45.
void Integrator::initializeOptions | ( | ) | [protected, inherited] |
This routine should be called by the
integrators derived from this class in order to initialize
the following members based on the user options:
maxNumberOfSteps hmin hmax tune TOL las (cf. SETTINGS for more details)
References Integrator::hini, Integrator::hmax, Integrator::hmin, INITIAL_INTEGRATOR_STEPSIZE, INTEGRATOR_PRINTLEVEL, INTEGRATOR_TOLERANCE, Integrator::las, LINEAR_ALGEBRA_SOLVER, MAX_INTEGRATOR_STEPSIZE, MAX_NUM_INTEGRATOR_STEPS, Integrator::maxNumberOfSteps, MIN_INTEGRATOR_STEPSIZE, Integrator::PrintLevel, STEPSIZE_TUNING, Integrator::TOL, and Integrator::tune.
Referenced by IntegratorBDF::evaluate(), IntegratorRK::evaluate(), and evaluate().
void IntegratorLYAPUNOV::initializeVariables | ( | ) | [protected] |
In addition some dimensions are initialized with 0 as
a default value.
References A, b4, b5, c, dim, dimp, dimu, dimw, dimxmy, err_power, eta4, eta4_, eta5, eta5_, etaG, etaG2, etaG3, etaH, etaH2, etaH3, G, G2, G3, H, H2, H3, k, k2, l, l2, maxAlloc, seedmy, x, and Y.
Referenced by IntegratorLYAPUNOV().
returnValue Integrator::integrate | ( | double | t0, |
double | tend, | ||
double * | x0, | ||
double * | xa = 0 , |
||
double * | p = 0 , |
||
double * | u = 0 , |
||
double * | w = 0 |
||
) | [inherited] |
If neither the maximum number of allowed iteration is
exceeded nor any other error occurs the functions stops the
integration at time tend.
t0 | the start time |
tend | the end time |
x0 | the initial state |
xa | the initial algebraic state |
p | the parameters |
u | the controls |
w | the disturbance |
Referenced by Integrator::integrate().
returnValue Integrator::integrate | ( | const Grid & | t, |
double * | x0, | ||
double * | xa = 0 , |
||
double * | p = 0 , |
||
double * | u = 0 , |
||
double * | w = 0 |
||
) | [inherited] |
If neither the maximum number of allowed iteration is
exceeded nor any other error occurs the functions stops the
integration at time tend.
In addition, results at intermediate grid points can be
stored. Note that these grid points are for storage only and
have nothing to do the integrator steps.
t | the grid [t0,tend] |
x0 | the initial state |
xa | the initial algebraic state |
p | the parameters |
u | the controls |
w | the disturbance |
References ACADOERROR, DifferentialEquation::getDifferentialStateComponents(), VectorspaceElement::getDim(), Function::getNP(), Function::getNU(), Function::getNW(), Function::getNXA(), Integrator::integrate(), RET_TRIVIAL_RHS, and Integrator::rhs.
returnValue Integrator::integrate | ( | double | t0, |
double | tend, | ||
const Vector & | x0, | ||
const Vector & | xa = emptyVector , |
||
const Vector & | p = emptyVector , |
||
const Vector & | u = emptyVector , |
||
const Vector & | w = emptyVector |
||
) | [inherited] |
If neither the maximum number of allowed iteration is
exceeded nor any other error occurs the functions stops the
integration at time tend.
t0 | the start time |
tend | the end time |
x0 | the initial state |
xa | the initial algebraic state |
p | the parameters |
u | the controls |
w | the disturbance |
References Integrator::integrate().
returnValue Integrator::integrate | ( | const Grid & | t, |
const Vector & | x0, | ||
const Vector & | xa = emptyVector , |
||
const Vector & | p = emptyVector , |
||
const Vector & | u = emptyVector , |
||
const Vector & | w = emptyVector |
||
) | [inherited] |
If neither the maximum number of allowed iteration is
exceeded nor any other error occurs the functions stops the
integration at time tend.
In addition, results at intermediate grid points can be
stored. Note that these grid points are for storage only and
have nothing to do the integrator steps.
t | the grid [t0,tend] |
x0 | the initial state |
xa | the initial algebraic state |
p | the parameters |
u | the controls |
w | the disturbance |
References ACADOERROR, Integrator::evaluate(), Integrator::evaluateTransition(), DifferentialEquation::getDifferentialStateComponents(), Function::getDim(), VectorspaceElement::getDim(), Grid::getLastTime(), Integrator::getProtectedX(), VectorspaceElement::init(), Integrator::ma, RET_TRIVIAL_RHS, Integrator::rhs, VectorspaceElement::setZero(), SUCCESSFUL_RETURN, Integrator::transition, and Integrator::xE.
returnValue Integrator::integrateSensitivities | ( | ) | [inherited] |
References ACADOERROR, Integrator::diffTransitionBackward(), Integrator::diffTransitionForward(), Integrator::dP, Integrator::dPb, Integrator::dU, Integrator::dUb, Integrator::dW, Integrator::dWb, Integrator::dX, Integrator::dXb, Integrator::evaluateSensitivities(), DifferentialEquation::getDifferentialStateComponents(), Function::getDim(), VectorspaceElement::getDim(), Integrator::getProtectedForwardSensitivities(), VectorspaceElement::init(), Integrator::ma, Integrator::nBDirs, Integrator::nBDirs2, Integrator::nFDirs2, Integrator::rhs, Integrator::setBackwardSeed(), VectorspaceElement::setZero(), SUCCESSFUL_RETURN, Integrator::transition, and uint.
void IntegratorLYAPUNOV::interpolate | ( | int | jj, |
double * | e1, | ||
double * | d1, | ||
double * | e2, | ||
VariablesGrid & | poly | ||
) | [protected] |
References Grid::getTime(), Integrator::h, Integrator::m, t, and Integrator::timeInterval.
Referenced by step().
BooleanType Integrator::isDifferentialEquationAffine | ( | ) | const [virtual, inherited] |
References BT_FALSE, Function::isAffine(), and Integrator::rhs.
BooleanType Integrator::isDifferentialEquationDefined | ( | ) | const [virtual, inherited] |
References BT_FALSE, BT_TRUE, and Integrator::rhs.
void IntegratorLYAPUNOV::logCurrentIntegratorStep | ( | const Vector & | currentX = emptyConstVector | ) | [protected] |
IntegratorLYAPUNOV & IntegratorLYAPUNOV::operator= | ( | const IntegratorLYAPUNOV & | arg | ) | [virtual] |
References constructAll(), and deleteAll().
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.
void IntegratorLYAPUNOV::printIntermediateResults | ( | ) | [protected] |
References acadoPrintf(), Integrator::control_index, Integrator::diff_index, Integrator::disturbance_index, eta4, etaG, etaG2, etaG3, etaH, etaH2, etaH3, Integrator::m, Integrator::mp, Integrator::mu, Integrator::mw, Integrator::nBDirs, Integrator::nBDirs2, Integrator::nFDirs, Integrator::nFDirs2, Integrator::parameter_index, Integrator::soa, and SOA_EVERYTHING_FROZEN.
Referenced by evaluate(), evaluateSensitivities(), and step().
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 Integrator::printRunTimeProfile | ( | ) | const [virtual, inherited] |
This routine
can be used after an integration run in
order to assess the performance.
Integrates forward and/or backward depending on the specified seeds.
References AlgorithmicBase::outputLoggingIdx, PRINT_LAST_ITER, and AlgorithmicBase::printLogRecord().
Referenced by IntegratorBDF::evaluate(), IntegratorRK::evaluate(), and evaluate().
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 Integrator::setBackwardSeed | ( | const int & | order, |
const Vector & | seed | ||
) | [inherited] |
order | the order of the seed. |
seed | the backward seed |
References Integrator::dXb, DifferentialEquation::getDifferentialStateComponents(), VectorspaceElement::getDim(), VectorspaceElement::init(), Integrator::rhs, Integrator::setProtectedBackwardSeed(), and uint.
Referenced by Integrator::integrateSensitivities().
returnValue IntegratorLYAPUNOV::setBackwardSeed2 | ( | const Vector & | seed | ) | [protected, virtual] |
(only for internal use)
seed | the seed matrix |
References bseed2, etaH2, etaH3, VectorspaceElement::getDim(), Function::getNumberOfVariables(), H2, H3, VectorspaceElement::init(), Integrator::m, Integrator::nBDirs2, Integrator::rhs, VectorspaceElement::setZero(), and SUCCESSFUL_RETURN.
Referenced by setProtectedBackwardSeed().
returnValue IntegratorLYAPUNOV::setDxInitialization | ( | double * | dx0 | ) | [virtual] |
dx0 | initial guess for the differential state derivatives |
Implements Integrator.
References SUCCESSFUL_RETURN.
returnValue Integrator::setForwardSeed | ( | const int & | order, |
const Vector & | xSeed, | ||
const Vector & | pSeed = emptyVector , |
||
const Vector & | uSeed = emptyVector , |
||
const Vector & | wSeed = emptyVector |
||
) | [inherited] |
order | the order of the seed. |
xSeed | the seed w.r.t states |
pSeed | the seed w.r.t parameters |
uSeed | the seed w.r.t controls |
wSeed | the seed w.r.t disturbances |
References ACADOERROR, Integrator::dP, Integrator::dU, Integrator::dW, DifferentialEquation::getDifferentialStateComponents(), VectorspaceElement::getDim(), VectorspaceElement::init(), RET_TRIVIAL_RHS, Integrator::rhs, and Integrator::setProtectedForwardSeed().
returnValue IntegratorLYAPUNOV::setForwardSeed2 | ( | const Vector & | xSeed, |
const Vector & | pSeed, | ||
const Vector & | uSeed, | ||
const Vector & | wSeed | ||
) | [protected] |
(only for internal use)
xSeed | the seed w.r.t the initial states |
pSeed | the seed w.r.t the parameters |
uSeed | the seed w.r.t the controls |
wSeed | the seed w.r.t the disturbances |
References Integrator::control_index, Integrator::diff_index, Integrator::disturbance_index, etaG2, etaG3, fseed2, G2, G3, VectorspaceElement::getDim(), Function::getNumberOfVariables(), VectorspaceElement::init(), Integrator::m, Integrator::mp, Integrator::mu, Integrator::mw, Integrator::nFDirs2, Integrator::parameter_index, Integrator::rhs, VectorspaceElement::setZero(), and SUCCESSFUL_RETURN.
Referenced by setProtectedForwardSeed().
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(), 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 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 IntegratorLYAPUNOV::setProtectedBackwardSeed | ( | const Vector & | seed, |
const int & | order | ||
) | [protected, virtual] |
seed | the seed matrix |
order | the order of the seed. |
Implements Integrator.
References ACADOERROR, bseed, etaH, VectorspaceElement::getDim(), Function::getNumberOfVariables(), H, VectorspaceElement::init(), Integrator::m, Integrator::nBDirs, Integrator::nFDirs, RET_INPUT_OUT_OF_RANGE, Integrator::rhs, setBackwardSeed2(), VectorspaceElement::setZero(), and SUCCESSFUL_RETURN.
returnValue IntegratorLYAPUNOV::setProtectedForwardSeed | ( | const Vector & | xSeed, |
const Vector & | pSeed, | ||
const Vector & | uSeed, | ||
const Vector & | wSeed, | ||
const int & | order | ||
) | [protected, virtual] |
xSeed | the seed w.r.t the initial states |
pSeed | the seed w.r.t the parameters |
uSeed | the seed w.r.t the controls |
wSeed | the seed w.r.t the disturbances |
order | the order of the seed. |
Implements Integrator.
References ACADOERROR, Integrator::control_index, Integrator::diff_index, Integrator::disturbance_index, etaG, fseed, G, VectorspaceElement::getDim(), Function::getNumberOfVariables(), VectorspaceElement::init(), Integrator::m, Integrator::mp, Integrator::mu, Integrator::mw, Integrator::nBDirs, Integrator::nFDirs, Integrator::parameter_index, RET_INPUT_OUT_OF_RANGE, Integrator::rhs, setForwardSeed2(), VectorspaceElement::setZero(), and SUCCESSFUL_RETURN.
returnValue Integrator::setTransition | ( | const Transition & | trs | ) | [inherited] |
References SUCCESSFUL_RETURN, and Integrator::transition.
Referenced by ShootingMethod::addTransition().
returnValue Integrator::setupLogging | ( | ) | [protected, virtual, inherited] |
References LogRecord::addItem(), AlgorithmicBase::addLogRecord(), LOG_AT_EACH_ITERATION, LOG_NUMBER_OF_BDF_INTEGRATOR_JACOBIAN_EVALUATIONS, LOG_NUMBER_OF_INTEGRATOR_FUNCTION_EVALUATIONS, LOG_NUMBER_OF_INTEGRATOR_REJECTED_STEPS, LOG_NUMBER_OF_INTEGRATOR_STEPS, LOG_TIME_BDF_INTEGRATOR_JACOBIAN_DECOMPOSITION, LOG_TIME_BDF_INTEGRATOR_JACOBIAN_EVALUATION, LOG_TIME_INTEGRATOR, LOG_TIME_INTEGRATOR_FUNCTION_EVALUATIONS, AlgorithmicBase::outputLoggingIdx, PS_DEFAULT, and SUCCESSFUL_RETURN.
Referenced by Integrator::Integrator().
returnValue Integrator::setupOptions | ( | ) | [protected, virtual, inherited] |
References ABSOLUTE_TOLERANCE, AlgorithmicBase::addOption(), ALGEBRAIC_RELAXATION, CORRECTOR_TOLERANCE, defaultAbsoluteTolerance, defaultAlgebraicRelaxation, defaultCorrectorTolerance, defaultInitialStepsize, defaultIntegratorPrintlevel, defaultIntegratorTolerance, defaultLinearAlgebraSolver, defaultMaxNumSteps, defaultMaxStepsize, defaultMinStepsize, defaultprintIntegratorProfile, defaultRelaxationParameter, defaultStepsizeTuning, INITIAL_INTEGRATOR_STEPSIZE, INTEGRATOR_PRINTLEVEL, INTEGRATOR_TOLERANCE, LINEAR_ALGEBRA_SOLVER, MAX_INTEGRATOR_STEPSIZE, MAX_NUM_INTEGRATOR_STEPS, MIN_INTEGRATOR_STEPSIZE, PRINT_INTEGRATOR_PROFILE, RELAXATION_PARAMETER, STEPSIZE_TUNING, and SUCCESSFUL_RETURN.
Referenced by Integrator::Integrator().
returnValue IntegratorLYAPUNOV::step | ( | int | number | ) | [virtual] |
This function can be used to
call the integrator step wise. Note that this function is e.g.
useful in real-time simulations where after each step a time
out limit has to be checked. This function will usually return
In most real situations you can define the maximum number of
step sizes to be 1 before calling the function integrate
Then the function integrate should return after one step with
the message
RET_MAXIMUM_NUMBER_OF_STEPS_EXCEEDED. After that you can call
step() until the final time is reached.
(You can use the PrintLevel NONE to avoid that the message
RET_MAXIMUM_NUMBER_OF_STEPS_EXCEEDED is printed.)
number | the step number |
References ABSOLUTE_TOLERANCE, ACADOERROR, acadoPrintf(), Integrator::count3, Integrator::ddxStore, determineEta45(), determineEtaGForward(), determineEtaGForward2(), determineEtaHBackward(), determineEtaHBackward2(), Integrator::diff_index, Integrator::diff_scale, dim, Integrator::dxStore, EPS, err_power, eta4, eta4_, etaG, etaG3, fabs(), Grid::getFloorIndex(), Grid::getLastTime(), Integrator::h, HIGH, Integrator::hini, Integrator::hmax, Integrator::hmin, Function::index(), interpolate(), Integrator::iStore, k, Integrator::m, maxAlloc, Integrator::mn, Integrator::nBDirs, Integrator::nBDirs2, Integrator::nFDirs, Integrator::nFDirs2, pow(), printIntermediateResults(), RET_FINAL_STEP_NOT_PERFORMED_YET, RET_NOT_FROZEN, RET_UNSUCCESSFUL_RETURN_FROM_INTEGRATOR_RK45, RET_WRONG_DEFINITION_OF_SEEDS, Integrator::rhs, Integrator::soa, SOA_EVERYTHING_FROZEN, SOA_FREEZING_ALL, SOA_FREEZING_MESH, SOA_MESH_FROZEN, SOA_MESH_FROZEN_FREEZING_ALL, SOA_UNFROZEN, sqrt(), SUCCESSFUL_RETURN, t, Integrator::time_index, Integrator::timeInterval, Integrator::TOL, Integrator::tune, VT_INTERMEDIATE_STATE, x, and Integrator::xStore.
Referenced by evaluate(), and evaluateSensitivities().
returnValue IntegratorLYAPUNOV::stop | ( | ) | [virtual] |
This function will also give all memory free.
In particular, the function unfreeze() will be called.
(This function is designed for the usage in real-time
contexts in order to deal with error messages without
deleting and re-initializing the integrator.)
References ACADOERROR, and RET_NOT_IMPLEMENTED_YET.
returnValue IntegratorLYAPUNOV::unfreeze | ( | ) | [virtual] |
If you use the function
integrate after unfreezing the usual step size control will be
switched on.
Implements Integrator.
References Integrator::h, maxAlloc, Integrator::soa, SOA_UNFROZEN, and SUCCESSFUL_RETURN.
double** IntegratorLYAPUNOV::A [protected] |
Referenced by constructAll(), deleteAll(), determineEta45(), determineEtaGForward(), determineEtaGForward2(), determineEtaHBackward(), determineEtaHBackward2(), IntegratorLYAPUNOV45::initializeButcherTableau(), initializeVariables(), IntegratorLYAPUNOV(), and IntegratorLYAPUNOV45::IntegratorLYAPUNOV45().
int* Integrator::alg_index [protected, inherited] |
double* IntegratorLYAPUNOV::b4 [protected] |
double* IntegratorLYAPUNOV::b5 [protected] |
Vector IntegratorLYAPUNOV::bseed [protected] |
Referenced by evaluateSensitivities(), and setProtectedBackwardSeed().
Vector IntegratorLYAPUNOV::bseed2 [protected] |
Referenced by evaluateSensitivities(), and setBackwardSeed2().
double* IntegratorLYAPUNOV::c [protected] |
int* Integrator::control_index [protected, inherited] |
Referenced by allocateMemory(), IntegratorRK::allocateMemory(), IntegratorBDF::allocateMemory(), IntegratorRK::constructAll(), constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::copyBackward(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), IntegratorRK::getProtectedBackwardSensitivities(), getProtectedBackwardSensitivities(), Integrator::Integrator(), IntegratorBDF::printBDFfinalResults2(), IntegratorRK::printIntermediateResults(), printIntermediateResults(), IntegratorBDF::setForwardSeed2(), setForwardSeed2(), IntegratorRK::setForwardSeed2(), IntegratorBDF::setProtectedForwardSeed(), IntegratorRK::setProtectedForwardSeed(), setProtectedForwardSeed(), and Integrator::~Integrator().
int Integrator::count [protected, inherited] |
int Integrator::count2 [protected, inherited] |
int Integrator::count3 [protected, inherited] |
Referenced by constructAll(), IntegratorRK::constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), getNumberOfRejectedSteps(), IntegratorBDF::getNumberOfRejectedSteps(), IntegratorRK::getNumberOfRejectedSteps(), Integrator::Integrator(), IntegratorBDF::rk_start(), IntegratorBDF::step(), step(), and IntegratorRK::step().
int* Integrator::ddiff_index [protected, inherited] |
Referenced by IntegratorBDF::allocateMemory(), IntegratorRK::constructAll(), constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::determineBDFEtaGForward(), IntegratorBDF::determineBDFEtaGForward2(), IntegratorBDF::determineBDFEtaHBackward(), IntegratorBDF::determineBDFEtaHBackward2(), IntegratorBDF::determineCorrector(), IntegratorBDF::determineRKEtaGForward(), IntegratorBDF::determineRKEtaGForward2(), IntegratorBDF::determineRKEtaHBackward(), IntegratorBDF::determineRKEtaHBackward2(), Integrator::Integrator(), IntegratorBDF::rk_start_solve(), and Integrator::~Integrator().
VariablesGrid Integrator::ddxStore [protected, inherited] |
int* Integrator::diff_index [protected, inherited] |
Referenced by allocateMemory(), IntegratorRK::allocateMemory(), IntegratorBDF::allocateMemory(), IntegratorBDF::applyMTranspose(), IntegratorRK::constructAll(), constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::copyBackward(), IntegratorBDF::determineBDFEtaGForward(), IntegratorBDF::determineBDFEtaGForward2(), IntegratorBDF::determineBDFEtaHBackward(), IntegratorBDF::determineBDFEtaHBackward2(), IntegratorBDF::determineCorrector(), determineEta45(), IntegratorRK::determineEta45(), determineEtaGForward(), IntegratorRK::determineEtaGForward(), determineEtaGForward2(), IntegratorRK::determineEtaGForward2(), determineEtaHBackward(), IntegratorRK::determineEtaHBackward(), determineEtaHBackward2(), IntegratorRK::determineEtaHBackward2(), IntegratorBDF::determineRKEtaGForward(), IntegratorBDF::determineRKEtaGForward2(), IntegratorBDF::determineRKEtaHBackward(), IntegratorBDF::determineRKEtaHBackward2(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), evaluateSensitivities(), IntegratorBDF::evaluateSensitivities(), IntegratorRK::evaluateSensitivities(), IntegratorRK::getProtectedBackwardSensitivities(), getProtectedBackwardSensitivities(), Integrator::Integrator(), IntegratorDiscretizedODE::performADbackwardStep(), IntegratorDiscretizedODE::performADbackwardStep2(), IntegratorDiscretizedODE::performADforwardStep(), IntegratorDiscretizedODE::performADforwardStep2(), IntegratorDiscretizedODE::performDiscreteStep(), IntegratorBDF::printBDFfinalResults2(), IntegratorRK::printIntermediateResults(), printIntermediateResults(), IntegratorBDF::rk_start_solve(), IntegratorBDF::setForwardSeed2(), setForwardSeed2(), IntegratorRK::setForwardSeed2(), IntegratorBDF::setProtectedForwardSeed(), setProtectedForwardSeed(), IntegratorRK::setProtectedForwardSeed(), IntegratorDiscretizedODE::step(), IntegratorBDF::step(), step(), IntegratorRK::step(), and Integrator::~Integrator().
Vector Integrator::diff_scale [protected, inherited] |
Referenced by allocateMemory(), IntegratorRK::allocateMemory(), IntegratorBDF::allocateMemory(), IntegratorBDF::applyNewtonStep(), constructAll(), IntegratorRK::constructAll(), IntegratorBDF::constructAll(), IntegratorRK::determineEta45(), determineEta45(), IntegratorBDF::determinePredictor(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), IntegratorBDF::rk_start(), IntegratorBDF::step(), step(), and IntegratorRK::step().
int IntegratorLYAPUNOV::dim [protected] |
int IntegratorLYAPUNOV::dimp [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), init(), and initializeVariables().
int IntegratorLYAPUNOV::dimu [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), init(), and initializeVariables().
int IntegratorLYAPUNOV::dimw [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), init(), and initializeVariables().
int IntegratorLYAPUNOV::dimxmy [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), init(), and initializeVariables().
int* Integrator::disturbance_index [protected, inherited] |
Referenced by allocateMemory(), IntegratorRK::allocateMemory(), IntegratorBDF::allocateMemory(), IntegratorRK::constructAll(), constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::copyBackward(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), IntegratorRK::getProtectedBackwardSensitivities(), getProtectedBackwardSensitivities(), Integrator::Integrator(), IntegratorBDF::printBDFfinalResults2(), IntegratorRK::printIntermediateResults(), printIntermediateResults(), IntegratorBDF::setForwardSeed2(), setForwardSeed2(), IntegratorRK::setForwardSeed2(), IntegratorBDF::setProtectedForwardSeed(), IntegratorRK::setProtectedForwardSeed(), setProtectedForwardSeed(), and Integrator::~Integrator().
Vector Integrator::dP [protected, inherited] |
Referenced by Integrator::integrateSensitivities(), and Integrator::setForwardSeed().
Vector Integrator::dPb [protected, inherited] |
Referenced by Integrator::getBackwardSensitivities(), and Integrator::integrateSensitivities().
Vector Integrator::dU [protected, inherited] |
Referenced by Integrator::integrateSensitivities(), and Integrator::setForwardSeed().
Vector Integrator::dUb [protected, inherited] |
Referenced by Integrator::getBackwardSensitivities(), and Integrator::integrateSensitivities().
Vector Integrator::dW [protected, inherited] |
Referenced by Integrator::integrateSensitivities(), and Integrator::setForwardSeed().
Vector Integrator::dWb [protected, inherited] |
Referenced by Integrator::getBackwardSensitivities(), and Integrator::integrateSensitivities().
Vector Integrator::dX [protected, inherited] |
Referenced by Integrator::getForwardSensitivities(), and Integrator::integrateSensitivities().
Vector Integrator::dXb [protected, inherited] |
Referenced by Integrator::integrateSensitivities(), and Integrator::setBackwardSeed().
VariablesGrid Integrator::dxStore [protected, inherited] |
double IntegratorLYAPUNOV::err_power [protected] |
Referenced by constructAll(), initializeVariables(), IntegratorLYAPUNOV(), and step().
double* IntegratorLYAPUNOV::eta4 [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), determineEta45(), evaluate(), getProtectedX(), initializeVariables(), printIntermediateResults(), and step().
double* IntegratorLYAPUNOV::eta4_ [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), determineEta45(), initializeVariables(), and step().
double* IntegratorLYAPUNOV::eta5 [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), determineEta45(), evaluate(), and initializeVariables().
double* IntegratorLYAPUNOV::eta5_ [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), and initializeVariables().
double* IntegratorLYAPUNOV::etaG [protected] |
double* IntegratorLYAPUNOV::etaG2 [protected] |
double* IntegratorLYAPUNOV::etaG3 [protected] |
double* IntegratorLYAPUNOV::etaH [protected] |
double* IntegratorLYAPUNOV::etaH2 [protected] |
double* IntegratorLYAPUNOV::etaH3 [protected] |
Vector IntegratorLYAPUNOV::fseed [protected] |
Referenced by evaluate(), evaluateSensitivities(), and setProtectedForwardSeed().
Vector IntegratorLYAPUNOV::fseed2 [protected] |
Referenced by evaluateSensitivities(), and setForwardSeed2().
RealClock Integrator::functionEvaluation [protected, inherited] |
double* IntegratorLYAPUNOV::G [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), determineEtaGForward(), initializeVariables(), and setProtectedForwardSeed().
double* IntegratorLYAPUNOV::G2 [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), determineEtaGForward2(), initializeVariables(), and setForwardSeed2().
double* IntegratorLYAPUNOV::G3 [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), determineEtaGForward2(), initializeVariables(), and setForwardSeed2().
double* IntegratorLYAPUNOV::H [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), determineEtaHBackward(), initializeVariables(), and setProtectedBackwardSeed().
double* Integrator::h [protected, inherited] |
Referenced by constructAll(), IntegratorRK::constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::determineCorrector(), IntegratorRK::determineEta45(), determineEta45(), determineEtaGForward(), IntegratorRK::determineEtaGForward(), IntegratorRK::determineEtaGForward2(), determineEtaGForward2(), IntegratorRK::determineEtaHBackward(), determineEtaHBackward(), IntegratorRK::determineEtaHBackward2(), determineEtaHBackward2(), IntegratorBDF::determinePredictor(), IntegratorBDF::determineRKEtaGForward(), IntegratorBDF::determineRKEtaGForward2(), IntegratorBDF::determineRKEtaHBackward(), IntegratorBDF::determineRKEtaHBackward2(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), IntegratorBDF::evaluateSensitivities(), getStepSize(), IntegratorRK::getStepSize(), IntegratorBDF::getStepSize(), Integrator::Integrator(), interpolate(), IntegratorRK::interpolate(), IntegratorBDF::interpolate(), IntegratorBDF::printBDFfinalResults(), IntegratorBDF::printBDFIntermediateResults(), IntegratorBDF::printRKIntermediateResults(), IntegratorBDF::rk_start(), IntegratorBDF::rk_start_solve(), IntegratorDiscretizedODE::step(), IntegratorBDF::step(), step(), IntegratorRK::step(), IntegratorBDF::unfreeze(), unfreeze(), IntegratorRK::unfreeze(), and Integrator::~Integrator().
double* IntegratorLYAPUNOV::H2 [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), determineEtaHBackward2(), initializeVariables(), and setBackwardSeed2().
double* IntegratorLYAPUNOV::H3 [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), determineEtaHBackward2(), initializeVariables(), and setBackwardSeed2().
double Integrator::hini [protected, inherited] |
double Integrator::hmax [protected, inherited] |
double Integrator::hmin [protected, inherited] |
int* Integrator::int_control_index [protected, inherited] |
int* Integrator::int_parameter_index [protected, inherited] |
VariablesGrid Integrator::iStore [protected, inherited] |
double** IntegratorLYAPUNOV::k [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), determineEta45(), determineEtaGForward(), determineEtaGForward2(), initializeVariables(), and step().
double** IntegratorLYAPUNOV::k2 [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), determineEtaGForward2(), and initializeVariables().
double** IntegratorLYAPUNOV::l [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), determineEtaHBackward(), determineEtaHBackward2(), and initializeVariables().
double** IntegratorLYAPUNOV::l2 [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), determineEtaHBackward2(), and initializeVariables().
int Integrator::las [protected, inherited] |
Lyapunov IntegratorLYAPUNOV::lyap [protected] |
Referenced by constructAll(), evaluateSensitivities(), and init().
short int Integrator::m [protected, inherited] |
Referenced by allocateMemory(), IntegratorRK::allocateMemory(), IntegratorBDF::allocateMemory(), IntegratorBDF::applyMTranspose(), IntegratorBDF::applyNewtonStep(), constructAll(), IntegratorRK::constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::copyBackward(), IntegratorBDF::determineBDFEtaGForward(), IntegratorBDF::determineBDFEtaGForward2(), IntegratorBDF::determineCorrector(), IntegratorRK::determineEta45(), determineEta45(), determineEtaGForward(), IntegratorRK::determineEtaGForward(), IntegratorRK::determineEtaGForward2(), determineEtaGForward2(), IntegratorRK::determineEtaHBackward(), determineEtaHBackward(), determineEtaHBackward2(), IntegratorRK::determineEtaHBackward2(), IntegratorBDF::determinePredictor(), IntegratorBDF::determineRKEtaGForward(), IntegratorBDF::determineRKEtaGForward2(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), evaluateSensitivities(), IntegratorBDF::evaluateSensitivities(), IntegratorRK::evaluateSensitivities(), IntegratorRK::getDim(), getDim(), IntegratorRK::getProtectedBackwardSensitivities(), getProtectedBackwardSensitivities(), IntegratorBDF::getProtectedForwardSensitivities(), getProtectedForwardSensitivities(), IntegratorRK::getProtectedForwardSensitivities(), IntegratorBDF::getProtectedX(), IntegratorRK::getProtectedX(), getProtectedX(), Integrator::getX(), IntegratorBDF::init(), init(), IntegratorRK::init(), Integrator::Integrator(), IntegratorRK::interpolate(), interpolate(), IntegratorBDF::interpolate(), IntegratorDiscretizedODE::performADbackwardStep(), IntegratorDiscretizedODE::performADbackwardStep2(), IntegratorDiscretizedODE::performADforwardStep(), IntegratorDiscretizedODE::performADforwardStep2(), IntegratorDiscretizedODE::performDiscreteStep(), IntegratorBDF::prepareDividedDifferences(), IntegratorBDF::printBDFfinalResults(), IntegratorBDF::printBDFIntermediateResults(), printIntermediateResults(), IntegratorRK::printIntermediateResults(), IntegratorBDF::printRKIntermediateResults(), IntegratorBDF::rk_start(), IntegratorBDF::rk_start_solve(), IntegratorBDF::setBackwardSeed2(), setBackwardSeed2(), IntegratorRK::setBackwardSeed2(), IntegratorBDF::setForwardSeed2(), IntegratorRK::setForwardSeed2(), setForwardSeed2(), IntegratorBDF::setProtectedBackwardSeed(), setProtectedBackwardSeed(), IntegratorRK::setProtectedBackwardSeed(), IntegratorBDF::setProtectedForwardSeed(), setProtectedForwardSeed(), IntegratorRK::setProtectedForwardSeed(), IntegratorDiscretizedODE::step(), IntegratorBDF::step(), step(), and IntegratorRK::step().
short int Integrator::ma [protected, inherited] |
Referenced by IntegratorBDF::allocateMemory(), constructAll(), IntegratorRK::constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::determineCorrector(), IntegratorBDF::determineRKEtaGForward(), IntegratorBDF::determineRKEtaGForward2(), IntegratorBDF::evaluate(), IntegratorBDF::evaluateSensitivities(), IntegratorBDF::getDim(), Integrator::getX(), Integrator::getXA(), IntegratorBDF::init(), IntegratorRK::init(), init(), Integrator::integrate(), Integrator::integrateSensitivities(), Integrator::Integrator(), IntegratorBDF::logCurrentIntegratorStep(), IntegratorBDF::printBDFIntermediateResults(), IntegratorBDF::printRKIntermediateResults(), IntegratorBDF::relaxAlgebraic(), IntegratorBDF::rk_start(), and IntegratorBDF::rk_start_solve().
int IntegratorLYAPUNOV::maxAlloc [protected] |
Referenced by allocateMemory(), constructAll(), initializeVariables(), step(), and unfreeze().
int Integrator::maxNumberOfSteps [protected, inherited] |
Referenced by constructAll(), IntegratorRK::constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), evaluateSensitivities(), IntegratorBDF::evaluateSensitivities(), IntegratorRK::evaluateSensitivities(), Integrator::initializeOptions(), and Integrator::Integrator().
short int Integrator::md [protected, inherited] |
Referenced by IntegratorBDF::allocateMemory(), IntegratorBDF::constructAll(), IntegratorBDF::determineBDFEtaGForward(), IntegratorBDF::determineBDFEtaGForward2(), IntegratorBDF::determineBDFEtaHBackward(), IntegratorBDF::determineBDFEtaHBackward2(), IntegratorBDF::determineCorrector(), IntegratorBDF::determinePredictor(), IntegratorBDF::determineRKEtaGForward(), IntegratorBDF::determineRKEtaGForward2(), IntegratorBDF::determineRKEtaHBackward(), IntegratorBDF::determineRKEtaHBackward2(), IntegratorBDF::evaluate(), IntegratorBDF::evaluateSensitivities(), IntegratorBDF::getDim(), IntegratorBDF::getDimX(), Integrator::getXA(), IntegratorBDF::init(), Integrator::Integrator(), IntegratorBDF::logCurrentIntegratorStep(), IntegratorBDF::printBDFfinalResults2(), IntegratorBDF::printBDFIntermediateResults(), IntegratorBDF::printRKIntermediateResults(), IntegratorBDF::relaxAlgebraic(), IntegratorBDF::rk_start(), IntegratorBDF::rk_start_solve(), IntegratorBDF::setBackwardSeed2(), IntegratorBDF::setDxInitialization(), IntegratorBDF::setForwardSeed2(), IntegratorBDF::setProtectedBackwardSeed(), and IntegratorBDF::setProtectedForwardSeed().
short int Integrator::mdx [protected, inherited] |
short int Integrator::mn [protected, inherited] |
Referenced by constructAll(), IntegratorRK::constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), IntegratorBDF::init(), init(), IntegratorRK::init(), Integrator::Integrator(), IntegratorBDF::rk_start(), IntegratorDiscretizedODE::step(), IntegratorBDF::step(), step(), and IntegratorRK::step().
short int Integrator::mp [protected, inherited] |
Referenced by allocateMemory(), IntegratorRK::allocateMemory(), IntegratorBDF::allocateMemory(), IntegratorRK::constructAll(), constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::copyBackward(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), getProtectedBackwardSensitivities(), IntegratorRK::getProtectedBackwardSensitivities(), IntegratorBDF::init(), init(), IntegratorRK::init(), Integrator::Integrator(), IntegratorBDF::printBDFfinalResults2(), IntegratorRK::printIntermediateResults(), printIntermediateResults(), IntegratorBDF::setForwardSeed2(), setForwardSeed2(), IntegratorRK::setForwardSeed2(), IntegratorBDF::setProtectedForwardSeed(), setProtectedForwardSeed(), and IntegratorRK::setProtectedForwardSeed().
short int Integrator::mpi [protected, inherited] |
short int Integrator::mu [protected, inherited] |
Referenced by allocateMemory(), IntegratorRK::allocateMemory(), IntegratorBDF::allocateMemory(), IntegratorRK::constructAll(), constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::copyBackward(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), getProtectedBackwardSensitivities(), IntegratorRK::getProtectedBackwardSensitivities(), IntegratorBDF::init(), init(), IntegratorRK::init(), Integrator::Integrator(), IntegratorBDF::printBDFfinalResults2(), IntegratorRK::printIntermediateResults(), printIntermediateResults(), IntegratorBDF::setForwardSeed2(), setForwardSeed2(), IntegratorRK::setForwardSeed2(), IntegratorBDF::setProtectedForwardSeed(), setProtectedForwardSeed(), and IntegratorRK::setProtectedForwardSeed().
short int Integrator::mui [protected, inherited] |
short int Integrator::mw [protected, inherited] |
Referenced by allocateMemory(), IntegratorRK::allocateMemory(), IntegratorBDF::allocateMemory(), IntegratorRK::constructAll(), constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::copyBackward(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), getProtectedBackwardSensitivities(), IntegratorRK::getProtectedBackwardSensitivities(), IntegratorBDF::init(), init(), IntegratorRK::init(), Integrator::Integrator(), IntegratorBDF::printBDFfinalResults2(), IntegratorRK::printIntermediateResults(), printIntermediateResults(), IntegratorBDF::setForwardSeed2(), setForwardSeed2(), IntegratorRK::setForwardSeed2(), IntegratorBDF::setProtectedForwardSeed(), setProtectedForwardSeed(), and IntegratorRK::setProtectedForwardSeed().
int Integrator::nBDirs [protected, inherited] |
Referenced by constructAll(), IntegratorRK::constructAll(), IntegratorBDF::constructAll(), Integrator::deleteAllSeeds(), evaluateSensitivities(), IntegratorBDF::evaluateSensitivities(), IntegratorRK::evaluateSensitivities(), Integrator::integrateSensitivities(), Integrator::Integrator(), IntegratorBDF::printBDFfinalResults(), IntegratorBDF::printBDFIntermediateResults(), printIntermediateResults(), IntegratorRK::printIntermediateResults(), IntegratorBDF::printRKIntermediateResults(), IntegratorBDF::rk_start(), IntegratorBDF::setProtectedBackwardSeed(), setProtectedBackwardSeed(), IntegratorRK::setProtectedBackwardSeed(), IntegratorBDF::setProtectedForwardSeed(), setProtectedForwardSeed(), IntegratorRK::setProtectedForwardSeed(), IntegratorDiscretizedODE::step(), IntegratorBDF::step(), step(), and IntegratorRK::step().
int Integrator::nBDirs2 [protected, inherited] |
Referenced by constructAll(), IntegratorRK::constructAll(), IntegratorBDF::constructAll(), Integrator::deleteAllSeeds(), IntegratorBDF::determineBDFEtaHBackward2(), IntegratorBDF::determineRKEtaHBackward2(), evaluateSensitivities(), IntegratorBDF::evaluateSensitivities(), IntegratorRK::evaluateSensitivities(), IntegratorBDF::getProtectedBackwardSensitivities(), getProtectedBackwardSensitivities(), IntegratorRK::getProtectedBackwardSensitivities(), Integrator::integrateSensitivities(), Integrator::Integrator(), IntegratorBDF::printBDFfinalResults(), IntegratorBDF::printBDFIntermediateResults(), IntegratorRK::printIntermediateResults(), printIntermediateResults(), IntegratorBDF::printRKIntermediateResults(), IntegratorBDF::rk_start(), IntegratorBDF::setBackwardSeed2(), setBackwardSeed2(), IntegratorRK::setBackwardSeed2(), IntegratorDiscretizedODE::step(), IntegratorBDF::step(), step(), and IntegratorRK::step().
int Integrator::nFcnEvaluations [protected, inherited] |
int Integrator::nFDirs [protected, inherited] |
Referenced by constructAll(), IntegratorRK::constructAll(), IntegratorBDF::constructAll(), Integrator::deleteAllSeeds(), IntegratorBDF::determineBDFEtaGForward(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), evaluateSensitivities(), IntegratorBDF::evaluateSensitivities(), IntegratorRK::evaluateSensitivities(), IntegratorBDF::getProtectedForwardSensitivities(), Integrator::Integrator(), IntegratorDiscretizedODE::performADforwardStep(), IntegratorBDF::printBDFfinalResults(), IntegratorBDF::printBDFIntermediateResults(), printIntermediateResults(), IntegratorRK::printIntermediateResults(), IntegratorBDF::printRKIntermediateResults(), IntegratorBDF::rk_start(), IntegratorBDF::setProtectedBackwardSeed(), IntegratorRK::setProtectedBackwardSeed(), setProtectedBackwardSeed(), IntegratorBDF::setProtectedForwardSeed(), IntegratorRK::setProtectedForwardSeed(), setProtectedForwardSeed(), IntegratorDiscretizedODE::step(), IntegratorBDF::step(), step(), and IntegratorRK::step().
int Integrator::nFDirs2 [protected, inherited] |
Referenced by constructAll(), IntegratorRK::constructAll(), IntegratorBDF::constructAll(), Integrator::deleteAllSeeds(), IntegratorBDF::determineBDFEtaGForward2(), evaluateSensitivities(), IntegratorBDF::evaluateSensitivities(), IntegratorRK::evaluateSensitivities(), IntegratorBDF::getProtectedForwardSensitivities(), getProtectedForwardSensitivities(), IntegratorRK::getProtectedForwardSensitivities(), Integrator::integrateSensitivities(), Integrator::Integrator(), IntegratorBDF::printBDFfinalResults(), IntegratorBDF::printBDFIntermediateResults(), printIntermediateResults(), IntegratorRK::printIntermediateResults(), IntegratorBDF::printRKIntermediateResults(), IntegratorBDF::rk_start(), IntegratorBDF::setForwardSeed2(), setForwardSeed2(), IntegratorRK::setForwardSeed2(), IntegratorDiscretizedODE::step(), IntegratorBDF::step(), step(), and IntegratorRK::step().
int AlgorithmicBase::outputLoggingIdx [protected, inherited] |
int* Integrator::parameter_index [protected, inherited] |
Referenced by allocateMemory(), IntegratorRK::allocateMemory(), IntegratorBDF::allocateMemory(), IntegratorRK::constructAll(), constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::copyBackward(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), IntegratorRK::getProtectedBackwardSensitivities(), getProtectedBackwardSensitivities(), Integrator::Integrator(), IntegratorBDF::printBDFfinalResults2(), IntegratorRK::printIntermediateResults(), printIntermediateResults(), IntegratorBDF::setForwardSeed2(), setForwardSeed2(), IntegratorRK::setForwardSeed2(), IntegratorBDF::setProtectedForwardSeed(), IntegratorRK::setProtectedForwardSeed(), setProtectedForwardSeed(), and Integrator::~Integrator().
int Integrator::PrintLevel [protected, inherited] |
Referenced by constructAll(), IntegratorRK::constructAll(), and Integrator::initializeOptions().
DifferentialEquation* Integrator::rhs [protected, inherited] |
Referenced by allocateMemory(), IntegratorRK::allocateMemory(), IntegratorBDF::allocateMemory(), constructAll(), IntegratorRK::constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::determineBDFEtaGForward(), IntegratorBDF::determineBDFEtaGForward2(), IntegratorBDF::determineBDFEtaHBackward(), IntegratorBDF::determineBDFEtaHBackward2(), IntegratorBDF::determineCorrector(), determineEta45(), IntegratorRK::determineEta45(), determineEtaGForward(), IntegratorRK::determineEtaGForward(), IntegratorRK::determineEtaGForward2(), determineEtaGForward2(), IntegratorRK::determineEtaHBackward(), determineEtaHBackward(), IntegratorRK::determineEtaHBackward2(), determineEtaHBackward2(), IntegratorBDF::determineRKEtaGForward(), IntegratorBDF::determineRKEtaGForward2(), IntegratorBDF::determineRKEtaHBackward(), IntegratorBDF::determineRKEtaHBackward2(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), evaluateSensitivities(), IntegratorBDF::evaluateSensitivities(), IntegratorRK::evaluateSensitivities(), Integrator::getBackwardSensitivities(), Integrator::getDifferentialEquationSampleTime(), Integrator::getX(), Integrator::getXA(), IntegratorBDF::init(), IntegratorRK::init(), init(), Integrator::integrate(), Integrator::integrateSensitivities(), Integrator::Integrator(), Integrator::isDifferentialEquationAffine(), Integrator::isDifferentialEquationDefined(), IntegratorDiscretizedODE::performADbackwardStep(), IntegratorDiscretizedODE::performADbackwardStep2(), IntegratorDiscretizedODE::performADforwardStep(), IntegratorDiscretizedODE::performADforwardStep2(), IntegratorDiscretizedODE::performDiscreteStep(), IntegratorBDF::rk_start(), IntegratorBDF::rk_start_solve(), Integrator::setBackwardSeed(), setBackwardSeed2(), IntegratorRK::setBackwardSeed2(), Integrator::setForwardSeed(), IntegratorRK::setForwardSeed2(), setForwardSeed2(), setProtectedBackwardSeed(), IntegratorRK::setProtectedBackwardSeed(), IntegratorRK::setProtectedForwardSeed(), setProtectedForwardSeed(), IntegratorDiscretizedODE::step(), IntegratorBDF::step(), step(), IntegratorRK::step(), and Integrator::~Integrator().
double* IntegratorLYAPUNOV::seedmy [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), and initializeVariables().
StateOfAggregation Integrator::soa [protected, inherited] |
Referenced by constructAll(), IntegratorRK::constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::determineCorrector(), IntegratorBDF::determinePredictor(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), evaluateSensitivities(), IntegratorBDF::evaluateSensitivities(), IntegratorRK::evaluateSensitivities(), IntegratorBDF::freezeAll(), freezeAll(), IntegratorRK::freezeAll(), IntegratorBDF::freezeMesh(), freezeMesh(), IntegratorRK::freezeMesh(), Integrator::Integrator(), IntegratorBDF::printBDFIntermediateResults(), printIntermediateResults(), IntegratorRK::printIntermediateResults(), IntegratorBDF::printRKIntermediateResults(), IntegratorBDF::rk_start(), IntegratorBDF::rk_start_solve(), IntegratorDiscretizedODE::step(), IntegratorBDF::step(), step(), IntegratorRK::step(), IntegratorBDF::unfreeze(), unfreeze(), and IntegratorRK::unfreeze().
double IntegratorLYAPUNOV::t [protected] |
Referenced by allocateMemory(), constructAll(), determineEta45(), evaluate(), evaluateSensitivities(), interpolate(), and step().
int Integrator::time_index [protected, inherited] |
Referenced by allocateMemory(), IntegratorRK::allocateMemory(), IntegratorBDF::allocateMemory(), IntegratorRK::constructAll(), constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::determineCorrector(), IntegratorRK::determineEta45(), determineEta45(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), Integrator::Integrator(), IntegratorDiscretizedODE::performDiscreteStep(), IntegratorBDF::rk_start_solve(), IntegratorDiscretizedODE::step(), IntegratorBDF::step(), step(), and IntegratorRK::step().
Grid Integrator::timeInterval [protected, inherited] |
the time interval
Referenced by IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), evaluateSensitivities(), IntegratorBDF::evaluateSensitivities(), IntegratorRK::evaluateSensitivities(), IntegratorRK::interpolate(), interpolate(), IntegratorBDF::interpolate(), IntegratorBDF::relaxAlgebraic(), IntegratorBDF::rk_start(), IntegratorDiscretizedODE::step(), IntegratorBDF::step(), step(), and IntegratorRK::step().
double Integrator::TOL [protected, inherited] |
Referenced by constructAll(), IntegratorRK::constructAll(), IntegratorBDF::constructAll(), IntegratorBDF::determineCorrector(), IntegratorBDF::evaluate(), IntegratorRK::evaluate(), evaluate(), IntegratorRK23::initializeButcherTableau(), IntegratorRK12::initializeButcherTableau(), Integrator::initializeOptions(), Integrator::Integrator(), IntegratorBDF::rk_start(), IntegratorBDF::rk_start_solve(), IntegratorBDF::step(), step(), and IntegratorRK::step().
RealClock Integrator::totalTime [protected, inherited] |
Referenced by IntegratorBDF::evaluate(), IntegratorRK::evaluate(), and evaluate().
Transition* Integrator::transition [protected, inherited] |
double Integrator::tune [protected, inherited] |
BooleanType AlgorithmicBase::useModuleStandalone [protected, inherited] |
UserInteraction* AlgorithmicBase::userInteraction [protected, inherited] |
Referenced by AlgorithmicBase::addLogRecord(), AlgorithmicBase::addOption(), AlgorithmicBase::addOptionsList(), AlgorithmicBase::AlgorithmicBase(), AlgorithmicBase::get(), AlgorithmicBase::getAll(), ExplicitRungeKuttaExport::getCode(), AlgorithmicBase::getFirst(), ExplicitRungeKuttaExport::getFunctionDeclarations(), AlgorithmicBase::getLast(), AlgorithmicBase::getOptions(), AlgorithmicBase::haveOptionsChanged(), AlgorithmicBase::operator=(), AlgorithmicBase::plot(), AlgorithmicBase::printLogRecord(), AlgorithmicBase::replot(), AlgorithmicBase::set(), AlgorithmicBase::setAll(), ExplicitRungeKuttaExport::setDifferentialEquation(), AlgorithmicBase::setLast(), AlgorithmicBase::setOptions(), ExportGaussElim::setup(), ExportHouseholderQR::setup(), ImplicitRungeKuttaExport::setup(), SCPmethod::setup(), ExportGaussNewtonForces::setupQPInterface(), ExportGaussNewtonCN2::setupQPInterface(), ExportGaussNewtonCondensed::setupQPInterface(), CondensingBasedCPsolver::solveQP(), and AlgorithmicBase::~AlgorithmicBase().
double* IntegratorLYAPUNOV::x [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), determineEta45(), evaluate(), initializeVariables(), and step().
Vector Integrator::xE [protected, inherited] |
Referenced by Integrator::getX(), Integrator::getXA(), and Integrator::integrate().
VariablesGrid Integrator::xStore [protected, inherited] |
double** IntegratorLYAPUNOV::Y [protected] |
Referenced by allocateMemory(), constructAll(), deleteAll(), evaluateSensitivities(), and initializeVariables().