5.52.1. extras.libxc.libxc_functional¶
- eminus.extras.libxc.libxc_functional(xc, n_spin, Nspin, dn_spin=None, tau=None, xc_params=None)[source]¶
Handle Libxc exchange-correlation functionals via pylibxc.
Reference: SoftwareX 7, 1.
- Parameters:
xc – Exchange or correlation identifier.
n_spin – Real-space electronic densities per spin channel.
Nspin – Number of spin states.
- Keyword Arguments:
dn_spin – Real-space gradient of densities per spin channel.
tau – Real-space kinetic energy densities per spin channel.
xc_params – Exchange-correlation functional parameters.
- Returns:
Exchange-correlationenergy density and potentials.