Reducing the number of redundant pair-wise interactions in hydrodynamic meshless methods

arXiv:2011.01227 First posted 2020-11-02 v2 There are existing methods that solve this problem more efficiently
Cite this paper ×
BibTeX
@misc{asensio2020reducing,
  title = {Reducing the number of redundant pair-wise interactions in hydrodynamic meshless methods},
  author = {Isaac Alonso Asensio and Claudio Dalla Vecchia},
  year = {2020},
  eprint = {2011.01227},
  archivePrefix = {arXiv},
  primaryClass = {astro-ph.IM},
  url = {https://arxiv.org/abs/2011.01227}
}
APA
Asensio, I. A., & Vecchia, C. D. (2020). Reducing the number of redundant pair-wise interactions in hydrodynamic meshless methods [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.01227
GB/T 7714
ASENSIO IA, VECCHIA CD. Reducing the number of redundant pair-wise interactions in hydrodynamic meshless methods[EB/OL]. (2020-11-02)[2026-11-29]. https://arxiv.org/abs/2011.01227.

Abstract

Widely used Lagrangian numerical codes that compute the physical interaction with neighbouring resolution elements (particles), duplicate the calculation of the interaction between pairs of particles. We developed an algorithm that reduces the number of redundant calculations. The algorithm makes use of a hash function to flag already computed interactions and eventual collisions. The result of the hashing is stored in two caches. Without limiting the cache memory usage, all duplicated calculations can be avoided, achieving the speed-up of a factor on two. We show that, limiting the cache size (in bits) to double the typical number of neighbouring particles, 70 per cent of the redundant calculations can be avoided, yielding a speed-up of almost 35 per cent.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!