rpa_rescale_eigval Function

public function rpa_rescale_eigval(x, dxr) result(xr)

Rescale eigenvalues of the RPA matrix to tame the spurious divergence of as . Non-negative eigenvalues are left intact.

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: x(:)
real(kind=dp), intent(out), optional :: dxr(:)

Return Value real(kind=dp), (size(x))