English

Implementation of high-precision computation capabilities into the open-source dynamic simulation framework YADE

Computational Physics 2021-10-04 v1 Numerical Analysis Numerical Analysis Chaotic Dynamics Classical Physics

Abstract

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.

Keywords

Cite

@article{arxiv.2108.04207,
  title  = {Implementation of high-precision computation capabilities into the open-source dynamic simulation framework YADE},
  author = {Janek Kozicki and Anton Gladky and Klaus Thoeni},
  journal= {arXiv preprint arXiv:2108.04207},
  year   = {2021}
}

Comments

25 pages, 5 tables, 9 figures, 1 simulation script listing, YADE software website: https://yade-dem.org/ , submitted to Computer Physics Communications

R2 v1 2026-06-24T04:57:40.343Z