Set the working copy of the tolerances (rtol_tmp, atol_tmp)
which may be modified by ddes.
They are only reset to the user values at the start of a new problem,
so that tolerances increased by the code (idid=-2) are retained
if the integration is resumed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ddeabm_class), | intent(inout) | :: | me |
subroutine set_working_tols(me) implicit none class(ddeabm_class), intent(inout) :: me ! (if the class has not been initialized, the tolerances are not ! allocated, and ddeabm will return an error) if (me%info(1) == 0 .and. allocated(me%rtol) .and. allocated(me%atol)) then me%rtol_tmp = me%rtol me%atol_tmp = me%atol end if end subroutine set_working_tols