Interatomic potential

functions for calculating potential energy