The potential calculator: this routine computes energy, forces and the virial.
e = System total energy, local_e = energy of each atom, vector dimensioned as at%N.
e = System total energy, local_e = energy of each atom, vector dimensioned as at%N.
Forces, dimensioned as f(3,at%N)
Virial