Class NewtonFailure

Inheritance Relationships

Base Type

Class Documentation

class amici::NewtonFailure : public amici::AmiException

Newton failure exception.

This exception should be thrown when the steady state computation failed to converge for this exception we can assume that we can recover from the exception and return a solution struct to the user

Public Functions

NewtonFailure(int code, const char *function)

Constructor, simply calls AmiException constructor.

  • function: name of the function in which the error occurred

  • code: error code

Public Members

int error_code

error code returned by solver