![]() |
Octopus
|
Spin-orbit coupling for fully-relativistic ultrasoft pseudopotentials. More...
Spin-orbit coupling for fully-relativistic ultrasoft pseudopotentials.
A fully-relativistic ultrasoft pseudopotential stores its nonlocal coupling D, overlap charges q and augmentation Q in the total-angular-momentum basis |l j m_j>, with channels ordered by j (Octopus cmap convention, ps.F90: odd channels are j=l+1/2, even j=l-1/2; l=0 is always j=1/2; ps.F90 reorders q and the augmentation pairs to match). The SOC-USPP projectors are complex spherical harmonics (rkb-style), so the (l,j)->spin coupling is the direct Clebsch-Gordan contraction soc_uspp_add_channel_coupling_cmplx. The complex->real transform soc_uspp_ylm_transform is used only where the complex-basis quantities must meet the real-Y_lm augmentation machinery (the density recoupling and the screening, nonlocal_pseudopotential.F90).
Functions/Subroutines | |
| subroutine, public | soc_uspp_ylm_transform (l, uu) |
| Complex-to-real spherical-harmonic transform U for a given l. More... | |
| pure real(real64) function, public | soc_uspp_spinor_coeff (l, jplus, m, spin) |
| Clebsch-Gordan spinor coefficient. More... | |
| subroutine, public | soc_uspp_add_channel_coupling_cmplx (l, nc, jplus, mat, pidx, zmix) |
| Add the (l,j)->spin coupling of one l-shell to the 2x2 spin zmix, complex-Y_lm basis. More... | |
| subroutine, public soc_uspp_oct_m::soc_uspp_ylm_transform | ( | integer, intent(in) | l, |
| complex(real64), dimension(:, :), intent(out) | uu | ||
| ) |
Complex-to-real spherical-harmonic transform U for a given l.
Returns U(a, m) (both indices running 1..2l+1, i.e. real index a<->(a-l-1), complex index m<->(m-l-1)) such that Y^real_{l,a-l-1} = sum_m U(a,m) Y^cmplx_{l,m-l-1}. With the conventions of ylmr_real / ylmr_cmplx (Condon-Shortley phase in both), for m > 0: Y^real_{ m} = (Y_m + (-1)^m Y_{-m}) / sqrt(2) = sqrt(2) Re Y_m Y^real_{-m} = -i (Y_m - (-1)^m Y_{-m}) / sqrt(2) = sqrt(2) Im Y_m
| [out] | uu | (1:2l+1, 1:2l+1) |
Definition at line 130 of file soc_uspp.F90.
| pure real(real64) function, public soc_uspp_oct_m::soc_uspp_spinor_coeff | ( | integer, intent(in) | l, |
| logical, intent(in) | jplus, | ||
| integer, intent(in) | m, | ||
| integer, intent(in) | spin | ||
| ) |
Clebsch-Gordan spinor coefficient.
Coefficient of |m_l, spin> in the spinor |j, m_j = m + 1/2>, with j = l+1/2 (jplus=.true.) or j = l-1/2, and for both j`s the same component mapping: spin=1 (up) has m_l = m, spin=2 (down) has m_l = m+1. Returns 0 outside the allowed m_j range (|m_j| <= j).
Definition at line 158 of file soc_uspp.F90.
| subroutine, public soc_uspp_oct_m::soc_uspp_add_channel_coupling_cmplx | ( | integer, intent(in) | l, |
| integer, intent(in) | nc, | ||
| logical, dimension(:), intent(in) | jplus, | ||
| real(real64), dimension(:, :), intent(in) | mat, | ||
| integer, dimension(:, :), intent(in) | pidx, | ||
| complex(real64), dimension(:, :, :), intent(inout) | zmix | ||
| ) |
Add the (l,j)->spin coupling of one l-shell to the 2x2 spin zmix, complex-Y_lm basis.
For a j-ordered channel matrix mat(ci,cj) (block-diagonal in j) and complex-Y_lm projectors indexed pidx(m_l+l+1, c): zmix(pidx(ml1,ci), pidx(ml2,cj), blk(s1,s2)) += C(l,j_ci,m,s1) C(l,j_cj,m,s2) mat(ci,cj) summed over m (= m_j - 1/2), with ml1 = m+(s1-1), ml2 = m+(s2-1) the complex-Y_lm m for each spin. This is the ultrasoft generalisation of the RKB f-matrix (rkb_projector.F90) to a full (multi-projector, cross-radial same-j) channel matrix.
| [in] | jplus | (nc) channel is j = l+1/2 |
| [in] | mat | (nc, nc) j-ordered channel matrix |
| [in] | pidx | (2l+1, nc) global projector index (0 if absent) |
| [in,out] | zmix | (nprojs, nprojs, 4) |
Definition at line 192 of file soc_uspp.F90.