Get the status of an integration.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(rk_class), | intent(in) | :: | me | |||
integer, | intent(out), | optional | :: | istatus |
status code ( |
|
character(len=:), | intent(out), | optional, | allocatable | :: | message |
status message |
subroutine rk_class_status(me,istatus,message) class(rk_class),intent(in) :: me integer,intent(out),optional :: istatus !! status code (`<0` means an error) character(len=:),allocatable,intent(out),optional :: message !! status message if (present(istatus)) istatus = me%istatus if (present(message)) message = trim(rklib_error_messages(me%istatus)) end subroutine rk_class_status