Hi everyone,
We have introduced a number of new classes and functionality for dealing with classical mechanics calculations.
Here is an example showing how you can set up simulations for a linear 1D chain of particles connected by the Harmonic springs and compute vibrational frequencies. We also show how you can get the normal modes for such simple systems.
It is pretty straightforward to extended it to the 2D or 3D cases, including periodic bonding interactions.
I thinks, this should be a useful hand-on example if you learn phonons or normal modes.
See the self-documented script and the corresponding plotting script in:
https://github.com/Quantum-Dynamics-Hub/libra-code/tree/devel/tests/example_2
Best,
Alexey