Can be called by the user in the function to terminate the computation.
This will set ifail=-1
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(diff_func), | intent(inout) | :: | me |
subroutine terminate(me) implicit none class(diff_func),intent(inout) :: me me%stop = .true. end subroutine terminate