It is hard to see how rescaling t would help. If h/t < unit roundoff when
both are in seconds, the same would be true if both are in days.
Maybe, for some reason, CVODE managed to use larger steps at the
cusp when you rescaled.
As to question 4, the all of the integrator's machinery to advance y
step by step still works fine even when t is not being advanced.
-Alan H
>> ------------------------------
>> *From:* sundials-users <
sundial...@llnl.gov> on behalf of Eliott
>> Tixier <
00000e5cede23bc...@LISTSERV.LLNL.GOV>
>> *Sent:* Friday, August 19, 2022 1:36 AM
>> *To:* sundials-users <
sundial...@llnl.gov>
>> *Subject:* [sundials-users] Internal t and h are such that t + h = t on
>> the next step
>>
>> Dear Sundials developers,
>>
>> In some of our simulations using CVODE we encounter warnings of the form:
>>
>> ```
>> Internal t = 3.77223e+07 and h = 2.91949e-10 are such that t + h = t on
>> the next step. The solver will continue anyway.
>> ```
>>
>> We understand it is only a warning but still have some questions which
>> reading the documentation
>> <
https://computing.llnl.gov/sites/default/files/cv_guide-5.7.0.pdf> did
>> not answer:
>>
>> 1. Does it mean the precision of the solution is compromised in any way?
>> 2. If 1. is true, what are the recommended ways of preventing that?
>> 3. If 1. is false, the doc says we can silence the warning by setting `CVodeSetMaxHnilWarns`
>> to a negative values, is that good practice?
>> 4. How can the solver "continue" if `t+h=t`? Shouldn't it stay stuck at
>> that specific time point? We observe that it does not get stuck and indeed
>> continues in practice.
>>
>> We're currently on *CVODE v5.7.0*, more precisely a fork of that
>> <
https://urldefense.us/v3/__https://github.com/novadiscovery/sundials/commits/master__;!!G2kpM7uM-TzIFchu!jgdMouBYb0WTtGQnkNyFBYblDc_ykevRWi0LnPRdhgpvC7eRuUWxBI6d3oVDo_aagldWnA$>
>>
>> Thank you for your help!
>>
>> Best,
>> Eliott
>>
>>
>> *This message is intended only for the personal and confidential use of
>> the designated recipient(s) named above. If you are not the intended
>> recipient of this message you are hereby notified that any review,
>> dissemination, distribution or copying of this message is strictly
>> prohibited. Email transmission cannot be guaranteed to be secure or
>> error-free. Therefore, we do not represent that this information is
>> complete or accurate and it should not be relied upon as such. All
>> information is subject to change without notice.*
>> ------------------------------
>> ------------------------------
############################