# Index of exceptions

 A ATimesFailure [Spils] Raised when an atimes function fails. AdjointNotInitialized [Idas.Adjoint] Adjoint sensitivity analysis was not initialized. AdjointNotInitialized [Cvodes.Adjoint] Adjoint sensitivity analysis was not initialized. B BadEwt [Ida] A component of the error weight vector, either for the input value or a corrected value, is zero. BadFinalTime [Idas.Adjoint] The final time was outside the interval over which the forward problem was solved. BadFinalTime [Cvodes.Adjoint] The final time was outside the interval over which the forward problem was solved. BadK [Arkode] Raised by Arkode.get_dky for invalid order values. BadK [Ida] Raised by Ida.get_dky for invalid order values. BadK [Cvode] Raised by Cvode.get_dky for invalid order values. BadSensIdentifier [Idas.Sensitivity] The index passed to identify a particular sensitivity is invalid. BadSensIdentifier [Cvodes.Sensitivity] The index passed to identify a particular sensitivity is invalid. BadT [Arkode] Raised by Arkode.get_dky for invalid time values. BadT [Ida] Raised by Ida.get_dky for invalid time values. BadT [Cvode] Raised by Cvode.get_dky for invalid time values. C ConstraintFailure [Ida] No solution satisfying the inequality constraints could be found. ConvFailure [Spils] Raised when a solver fails to converge. ConvergenceFailure [Arkode] Too many convergence test failures within a step or at the minimum step size. ConvergenceFailure [Ida] Too many convergence test failures within a step, or Newton convergence failed. ConvergenceFailure [Cvode] Too many convergence test failures within a step or at the minimum step size. E ErrFailure [Arkode] Too many error test failures within a step or at the minimum step size. ErrFailure [Ida] Too many error test failures within a step. ErrFailure [Cvode] Too many error test failures within a step or at the minimum step size. F FirstQuadRhsFuncFailure [Idas.Quadrature] The quadrature function failed at the first call. FirstQuadRhsFuncFailure [Cvodes.Quadrature] The quadrature function failed at the first call. FirstQuadSensRhsFuncFailure [Idas.Sensitivity.Quadrature] The sensitivity quadrature function failed at the first call. FirstQuadSensRhsFuncFailure [Cvodes.Sensitivity.Quadrature] The sensitivity quadrature function failed at the first call. FirstResFuncFailure [Ida] The residual function had a recoverable error when first called. FirstRhsFuncFailure [Arkode] The right-hand side function had a recoverable error when first called. FirstRhsFuncFailure [Cvode] The right-hand side function had a recoverable error when first called. FirstSensRhsFuncFailure [Cvodes.Sensitivity] The sensitivity function had a recoverable error when first called. FirstSystemFunctionFailure [Kinsol] The Kinsol.sysfn callback raised Sundials.RecoverableFailure when first called. ForwardFailure [Idas.Adjoint] An error occured during the integration of the forward problem. ForwardFailure [Cvodes.Adjoint] An error occured when integrating the forward problem from a checkpoint. ForwardReinitFailure [Idas.Adjoint] Reinitialization of the forward problem failed at the first checkpoint (corresponding to the initial time of the forward problem). ForwardReinitFailure [Cvodes.Adjoint] Reinitialization of the forward problem failed at the first checkpoint (corresponding to the initial time of the forward problem). G GSFailure [Spils] Raised when a Gram-Schmidt routine fails. I IdNotSet [Ida] Variable ids are required but not set. IllInput [Arkode] Raised on missing or illegal solver inputs. IllInput [Ida] Raised on missing or illegal solver inputs. IllInput [Kinsol] An input parameter was invalid. IllInput [Cvode] Raised on missing or illegal solver inputs. IncompatibleNvector [Nvector] Raised when an nvector argument is incompatible with a session. IncorrectGlobalSize [Nvector_parallel] Raised by make if the given global length is not consistent with the sum of local lengths across all parallel instances. InvalidLinearSolver [Sundials] Raised on invalid use of linear solver functions. Invalidated [Sls.SparseMatrix] Raised on an attempt to access a value that has become invalid. Invalidated [Dls.BandMatrix] Raised on an attempt to access a value that has become invalid. Invalidated [Dls.DenseMatrix] Raised on an attempt to access a value that has become invalid. L LineSearchBetaConditionFailure [Kinsol] The line search algorithm could not satisfy the “beta-condition” for mxnbcf + 1 nonlinear iterations. LineSearchNonConvergence [Kinsol] Line search could not find an iterate sufficiently distinct from the current one, or an iterate satisfying the sufficient decrease condition. LinearInitFailure [Arkode] Linear solver initialization failed. LinearInitFailure [Ida] Linear solver initialization failed. LinearInitFailure [Cvode] Linear solver initialization failed. LinearSetupFailure [Arkode] Linear solver setup failed in an unrecoverable manner. LinearSetupFailure [Ida] Linear solver setup failed in an unrecoverable manner. LinearSetupFailure [Kinsol] The Kinsol.Spils.prec_setup_fn callback failed unrecoverably. LinearSetupFailure [Cvode] Linear solver setup failed in an unrecoverable manner. LinearSolveFailure [Arkode] Linear solver solution failed in an unrecoverable manner. LinearSolveFailure [Ida] Linear solver solution failed in an unrecoverable manner. LinearSolveFailure [Cvode] Linear solver solution failed in an unrecoverable manner. LinearSolverFailure [Kinsol] Either Kinsol.Spils.prec_solve_fn failed unrecoverably or the linear solver encountered an error condition. LinearSolverInitFailure [Kinsol] Linear solver initialization failed. LinearSolverNoRecovery [Kinsol] The Kinsol.Spils.prec_solve_fn callback raised Sundials.RecoverableFailure but the preconditioner is already current. LinesearchFailure [Ida] Linesearch could not find a solution with a step larger than steptol in weighted RMS norm. M MassInitFailure [Arkode] Mass matrix solver initialization failed. MassMultFailure [Arkode] Mass matrix-vector multiplication failed. MassSetupFailure [Arkode] Mass matrix solver setup failed in an unrecoverable manner. MassSolveFailure [Arkode] Mass matrix solver solution failed in an unrecoverable manner. MaxIterationsReached [Kinsol] The maximum number of nonlinear iterations has been reached. MaxNewtonStepExceeded [Kinsol] Five consecutive steps exceed the maximum newton step. MissingLinearSolver [Kinsol] A linear solver is required but was not specified. N NoBackwardProblem [Idas.Adjoint] No backward problem has been created. NoBackwardProblem [Cvodes.Adjoint] No backward problem has been created. NoForwardCall [Idas.Adjoint] Neither Idas.Adjoint.forward_normal nor Idas.Adjoint.forward_one_step has been called. NoForwardCall [Cvodes.Adjoint] Neither Cvodes.Adjoint.forward_normal nor Cvodes.Adjoint.forward_one_step has been called. NoRecovery [Ida] A recoverable error occurred in a callback but no recovery was possible. NonPositiveEwt [Sundials] Raised by error-weight functions on non-positive error weights. NotImplementedBySundialsVersion [Sundials] Raised for features that are not available in the installed version of the underlying sundials library. O OperationNotSupported [Nvector_custom] Thrown for operations not provided to Nvector_custom.MakeOps P PSetFailure [Spils] Raised when a preconditioner setup routine fails. PSolveFailure [Spils] Raised when a preconditioner solver fails. PostprocStepFailure [Arkode] The postprocess step function failed. Q QRSolFailure [Spils] Raised QR solution finds a singular result. QRfactFailure [Spils] Raised when QR factorization yields a singular matrix. QuadNotInitialized [Idas.Quadrature] Quadrature integration was not initialized. QuadNotInitialized [Cvodes.Quadrature] Quadrature integration was not initialized. QuadRhsFuncFailure [Idas.Quadrature] The quadrature function failed in an unrecoverable manner. QuadRhsFuncFailure [Cvodes.Quadrature] The quadrature function failed in an unrecoverable manner. QuadSensNotInitialized [Idas.Sensitivity.Quadrature] Quadrature integration was not initialized. QuadSensNotInitialized [Cvodes.Sensitivity.Quadrature] Quadrature integration was not initialized. QuadSensRhsFuncFailure [Idas.Sensitivity.Quadrature] The sensitivity quadrature function failed in an unrecoverable manner. QuadSensRhsFuncFailure [Cvodes.Sensitivity.Quadrature] The sensitivity quadrature function failed in an unrecoverable manner. R RecoverableFailure [Sundials] Indicates a recoverable failure within a callback function. RepeatedQuadRhsFuncFailure [Idas.Quadrature] Convergence test failures occurred too many times due to repeated recoverable errors in the quadrature function. RepeatedQuadRhsFuncFailure [Cvodes.Quadrature] Convergence test failures occurred too many times due to repeated recoverable errors in the quadrature function. RepeatedQuadSensRhsFuncFailure [Idas.Sensitivity.Quadrature] Convergence test failures occurred too many times due to repeated recoverable errors in the quadrature function. RepeatedQuadSensRhsFuncFailure [Cvodes.Sensitivity.Quadrature] Convergence test failures occurred too many times due to repeated recoverable errors in the quadrature function. RepeatedResFuncFailure [Ida] Too many convergence test failures, or unable to estimate the initial step size, due to repeated recoverable errors in the residual function. RepeatedRhsFuncFailure [Arkode] Too many convergence test failures, or unable to estimate the initial step size, due to repeated recoverable errors in the right-hand side function. RepeatedRhsFuncFailure [Cvode] Too many convergence test failures, or unable to estimate the initial step size, due to repeated recoverable errors in the right-hand side function. RepeatedSensResFuncFailure [Idas.Sensitivity] Too many convergence test failures, or unable to estimate the initial step size, due to repeated recoverable errors in the sensitivity residual function. RepeatedSensRhsFuncFailure [Cvodes.Sensitivity] Too many convergence test failures, or unable to estimate the initial step size, due to repeated recoverable errors in the sensitivity function. RepeatedSystemFunctionFailure [Kinsol] The Kinsol.sysfn callback raised Sundials.RecoverableFailure repeatedly. ResFuncFailure [Ida] The residual function failed in an unrecoverable manner. RhsFuncFailure [Arkode] The right-hand side function failed in an unrecoverable manner. RhsFuncFailure [Cvode] The right-hand side function failed in an unrecoverable manner. RootFuncFailure [Arkode] The rootfinding function failed. RootFuncFailure [Ida] The rootfinding function failed. RootFuncFailure [Cvode] The rootfinding function failed. S SensNotInitialized [Idas.Sensitivity] Sensitivity analysis was not initialized. SensNotInitialized [Cvodes.Sensitivity] Sensitivity analysis was not initialized. SensResFuncFailure [Idas.Sensitivity] The sensitivity residual function failed in an unrecoverable manner. SensRhsFuncFailure [Cvodes.Sensitivity] The sensitivity function failed in an unrecoverable manner. SystemFunctionFailure [Kinsol] The Kinsol.sysfn callback failed unrecoverably. T TooClose [Arkode] The initial and final times are too close to each other and an initial step size was not specified. TooClose [Cvode] The initial and final times are too close to each other and an initial step size was not specified. TooMuchAccuracy [Arkode] The requested accuracy could not be satisfied. TooMuchAccuracy [Ida] The requested accuracy could not be satisfied. TooMuchAccuracy [Cvode] The requested accuracy could not be satisfied. TooMuchWork [Arkode] The requested time could not be reached in mxstep internal steps. TooMuchWork [Ida] The requested time could not be reached in mxstep internal steps. TooMuchWork [Cvode] The requested time could not be reached in mxstep internal steps. U UnrecoverableQuadRhsFuncFailure [Cvodes.Quadrature] The quadrature function had a recoverable error, but no recovery was possible. UnrecoverableQuadSensRhsFuncFailure [Cvodes.Sensitivity.Quadrature] The sensitivity quadrature function had a recoverable error, but no recovery was possible. UnrecoverableRhsFuncFailure [Arkode] The right-hand side function had a recoverable error, but no recovery was possible. UnrecoverableRhsFuncFailure [Cvode] The right-hand side function had a recoverable error, but no recovery was possible. UnrecoverableSensRhsFuncFailure [Cvodes.Sensitivity] The sensitivity function had a recoverable error, but no recovery was possible. Z ZeroDiagonalElement [Spils] Raised by Spils.qr_fact and Spils.qr_sol on a zero diagonal element during factorization. ZeroDiagonalElement [Dls] Raised by Dls.DenseMatrix.getrf and Dls.ArrayDenseMatrix.getrf on a zero diagonal element during factorization.