5.9.9. energies.get_Eloc

eminus.energies.get_Eloc(scf, n)[source]

Calculate the local energy contribution.

Reference: Comput. Phys. Commun. 128, 1.

Parameters:
  • scf – SCF object.

  • n – Real-space electronic density.

Returns:

Local energy contribution in Hartree.