- Relative tolerance (RTOL) controls local error relative to the size of the solution— RTOL = 10-4 means that errors are controlled to 0.01%
- Absolute tolerances (ATOL) control error when a solution component may be small
— Ex: solution starting at a nonzero value but decaying to noise level, ATOL should be set to noise level
SUNDIALS中的RTOL和ATOL
最新推荐文章于 2024-11-18 23:42:42 发布
这篇博客探讨了数值计算中误差控制的重要概念——相对容忍度(RTOL)和绝对容忍度(ATOL)。RTOL用于控制相对于解大小的误差,例如设定为1e-4意味着误差目标为0.01%。而ATOL适用于解决方案组件可能接近零但衰减到噪声水平的情况,这时应将ATOL设置为噪声级别。理解并适当地设置这些参数对于确保数值求解的精度至关重要。
398

被折叠的 条评论
为什么被折叠?



