在开源动态仿真框架YADE中实现高精度计算能力
Implementation of high-precision computation capabilities into the open-source dynamic simulation framework YADE
摘要:
本文论述了任意精度的计算到开源的离散元框架YADE下发布的GPL-2+免费软件许可证的实施。这种新的能力为模拟框架在许多新领域(如量子力学)中的应用铺平了道路。的实施细节和相关的收益的准确性的结果进行了讨论。除了“标准”double(64位)类型,还增加了对以下高精度类型的支持:long double(80位),float 128(128位),mpfr_float_backend(任意精度)和cpp_bin_float(任意精度)。进行基准测试以量化与新支持的精度相关的额外计算成本。最后,通过一个混沌三级摆的简单计算,验证了该方法的新性能以及不同精度对仿真结果的影响。
英文摘要:
This paper deals with the implementation of arbitrary precision calculations into the open-source discrete element framework YADE published under the GPL-2+ free software license. This new capability paves the way for the simulation framework to be used in many new fields such as quantum mechanics. The implementation details and associated gains in the accuracy of the results are discussed. Besides the "standard" double (64 bits) type, support for the following high-precision types is added: long double (80 bits), float128 (128 bits), mpfr_float_backend (arbitrary precision) and cpp_bin_float (arbitrary precision). Benchmarks are performed to quantify the additional computational cost involved with the new supported precisions. Finally, a simple calculation of a chaotic triple pendulum is performed to demonstrate the new capabilities and the effect of different precisions on the simulation result.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。