5.9. energiesΒΆ

Calculate different energy contributions.

Classes

Energy

Energy class to save energy contributions in one place.

Functions

get_E

Calculate energy contributions and update energies needed in one SCF step.

get_Eband

Calculate the band energy for occupied or unoccupied bands.

get_Ecoul

Calculate the Coulomb energy.

get_Edisp

Calculate the DFT-D3 dispersion correction energy.

get_Eentropy

Calculate the fillings entropic energy.

get_Eewald

Calculate the Ewald energy.

get_Ekin

Calculate the kinetic energy.

get_Eloc

Calculate the local energy contribution.

get_Enonloc

Calculate the non-local GTH energy contribution.

get_Esic

Calculate the Perdew-Zunger self-interaction energy.

get_Exc

Calculate the exchange-correlation energy.