6.5. IDAS 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.
6.5.1. IDAS input constants
IDAS main solver module |
||
---|---|---|
|
1 |
Solver returns at specified output time. |
|
2 |
Solver returns after each successful step. |
|
1 |
Simultaneous corrector forward sensitivity method. |
|
2 |
Staggered corrector forward sensitivity method. |
|
1 |
Central difference quotient approximation (\(2^{nd}\) order) of the sensitivity RHS. |
|
2 |
Forward difference quotient approximation (\(1^{st}\) order) of the sensitivity RHS. |
|
1 |
Compute \(y_a\) and \(\dot{y}_d\), given \(y_d\). |
|
2 |
Compute \(y\), given \(\dot{y}\). |
IDAS adjoint solver module |
||
|
1 |
Use Hermite interpolation. |
|
2 |
Use variable-degree polynomial interpolation. |
Iterative linear solver module |
||
|
0 |
No preconditioning |
|
1 |
Preconditioning on the left. |
|
1 |
Use modified Gram-Schmidt procedure. |
|
2 |
Use classical Gram-Schmidt procedure. |
6.5.2. IDAS output constants
IDAS main solver module |
||
---|---|---|
|
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 IDAS 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 |
|
-30 |
Quadratures were not initialized. |
|
-31 |
The user-provided right-hand side function for quadratures failed in an unrecoverable manner. |
|
-32 |
The user-provided right-hand side function for quadratures failed in an unrecoverable manner on the first call. |
|
-33 |
The user-provided right-hand side repeatedly returned a recoverable error flag, but the solver was unable to recover. |
|
-40 |
Sensitivities were not initialized. |
|
-41 |
The user-provided sensitivity residual function failed in an unrecoverable manner. |
|
-42 |
The user-provided sensitivity residual function repeatedly returned a recoverable error flag, but the solver was unable to recover. |
|
-43 |
The sensitivity identifier is not valid. |
|
-50 |
Sensitivity-dependent quadratures were not initialized. |
|
-51 |
The user-provided sensitivity-dependent quadrature right-hand side function failed in an unrecoverable manner. |
|
-52 |
The user-provided sensitivity-dependent quadrature right-hand side function failed in an unrecoverable manner on the first call. |
|
-53 |
The user-provided sensitivity-dependent quadrature right-hand side repeatedly returned a recoverable error flag, but the solver was unable to recover. |
IDAS adjoint solver module |
||
|
-101 |
The combined forward-backward problem has not been initialized. |
|
-102 |
|
|
-103 |
No backward problem was specified. |
|
-104 |
The desired output for backward problem is outside the interval over which the forward problem was solved. |
|
-105 |
No checkpoint is available for this hot start. |
|
-106 |
|
|
-107 |
Wrong time in interpolation function. |
IDALS linear solver interface |
||
|
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 |
|
-101 |
The combined forward-backward problem has not been initialized. |
|
-102 |
The linear solver was not initialized for the backward phase. |