spin_orbit_one_l Subroutine

public subroutine spin_orbit_one_l(lmax, l_s)

In this subroutine the matrix is calculated for the basis of real spherical harmonics. Schematically it has the form

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: lmax
complex(kind=dp), intent(out), dimension((2*lmax+1)*2, (2*lmax+1)*2) :: l_s