5.5. IDA Constants
Below we list all input and output constants used by the main solver and linear solver modules, together with their numerical values and a short description of their meaning.
5.5.1. IDA input constants
Constant |
Value |
Description |
---|---|---|
|
1 |
Solver returns at specified output time. |
|
2 |
Solver returns after each successful step. |
|
1 |
Compute \(y_a\) and \(\dot{y}_d\), given \(y_d\). |
|
2 |
Compute \(y\), given \(\dot{y}\). |
|
0 |
No preconditioning |
|
1 |
Preconditioning on the left only. |
|
1 |
Use modified Gram-Schmidt procedure. |
|
2 |
Use classical Gram-Schmidt procedure. |
5.5.2. IDA output constants
Constant |
Value |
Description |
---|---|---|
|
0 |
Successful function return. |
|
1 |
|
|
2 |
|
|
99 |
|
|
-1 |
The solver took |
|
-2 |
The solver could not satisfy the accuracy demanded by the user for some internal step. |
|
-3 |
Error test failures occurred too many times during one internal time step or minimum step size was reached. |
|
-4 |
Convergence test failures occurred too many times during one internal time step or minimum step size was reached. |
|
-5 |
The linear solver’s initialization function failed. |
|
-6 |
The linear solver’s setup function failed in an unrecoverable manner. |
|
-7 |
The linear solver’s solve function failed in an unrecoverable manner. |
|
-8 |
The user-provided residual function failed in an unrecoverable manner. |
|
-9 |
The user-provided residual function repeatedly returned a recoverable error flag, but the solver was unable to recover. |
|
-10 |
The rootfinding function failed in an unrecoverable manner. |
|
-11 |
The inequality constraints were violated and the solver was unable to recover. |
|
-12 |
The user-provided residual function failed recoverably on the first call. |
|
-13 |
The line search failed. |
|
-14 |
The residual function, linear solver setup function, or linear solver solve function had a recoverable failure, but |
|
-15 |
The nonlinear solver’s init routine failed. |
|
-16 |
The nonlinear solver’s setup routine failed. |
|
-20 |
The |
|
-21 |
A memory allocation failed. |
|
-22 |
One of the function inputs is illegal. |
|
-23 |
The IDA memory was not allocated by a call to |
|
-24 |
Zero value of some error weight component. |
|
-25 |
The \(k\)-th derivative is not available. |
|
-26 |
The time \(t\) is outside the last step taken. |
|
-27 |
The vector argument where derivative should be stored is |
|
0 |
Successful function return. |
|
-1 |
The |
|
-2 |
The IDALS linear solver has not been initialized. |
|
-3 |
The IDALS solver is not compatible with the current |
|
-4 |
A memory allocation request failed. |
|
-5 |
The preconditioner module has not been initialized. |
|
-6 |
The Jacobian function failed in an unrecoverable manner. |
|
-7 |
The Jacobian function had a recoverable error. |
|
-8 |
An error occurred with the current |
|
-9 |
An error occurred with the current |