5.3.4. band_minimizer.get_grad_unocc

eminus.band_minimizer.get_grad_unocc(scf, ik, spin, Z, **kwargs)[source]

Calculate the unoccupied band energy gradient with respect to Z.

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

Parameters:
  • scf – SCF object.

  • ik – k-point index.

  • spin – Spin variable to track whether to do the calculation for spin up or down.

  • Z – Expansion coefficients of unconstrained wave functions in reciprocal space.

Keyword Arguments:

**kwargs – See H().

Returns:

Gradient.