N720720/lindemann

Optimize Lindemann Index Calculation Using Distance Vector

N720720 opened this issue ยท 1 comments

๐Ÿ”ˆ Motivation

The initial implementation of the Lindemann index calculation utilized a square-form distance matrix. By switching to a distance vector, we save memory and enhance computational efficiency.

๐Ÿ“ Description of the Optimization

The optimization replaces the square-form distance matrix with a distance vector. This change reduces memory usage and improves computational performance. The distance vector requires $(n* \frac{(n-1)}{2} )$ storage space, compared to the $( n*n )$ space needed for a full distance matrix, where $( n )$ is the number of atoms.

Hello @N720720, thank you for your interest in our work!

If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.