w90_spin Module

Module to compute spin


Uses

  • module~~w90_spin~~UsesGraph module~w90_spin w90_spin module~w90_constants w90_constants module~w90_spin->module~w90_constants

Used by

  • module~~w90_spin~~UsedByGraph module~w90_spin w90_spin program~postw90 postw90 program~postw90->module~w90_spin proc~k_slice k_slice proc~k_slice->module~w90_spin proc~gyrotropic_get_noa_k gyrotropic_get_NOA_k proc~gyrotropic_get_noa_k->module~w90_spin proc~dos_get_k dos_get_k proc~dos_get_k->module~w90_spin proc~k_path k_path proc~k_path->module~w90_spin proc~gyrotropic_get_k_list gyrotropic_get_k_list proc~gyrotropic_get_k_list->module~w90_spin proc~tdf_kpt TDF_kpt proc~tdf_kpt->module~w90_spin proc~berry_get_kubo_k berry_get_kubo_k proc~berry_get_kubo_k->module~w90_spin

Contents


Subroutines

public subroutine spin_get_moment()

Computes the spin magnetic moment by Wannier interpolation

Arguments

None

public subroutine spin_get_nk(kpt, spn_nk)

Computes (m=1,...,num_wann) where S.n = n_x.S_x + n_y.S_y + n_z.Z_z

Read more…

Arguments

Type IntentOptional AttributesName
real(kind=dp), intent(in) :: kpt(3)
real(kind=dp), intent(out) :: spn_nk(num_wann)

private subroutine spin_get_moment_k(kpt, ef, spn_k)

Computes the spin magnetic moment by Wannier interpolation at the specified k-point

Arguments

Type IntentOptional AttributesName
real(kind=dp), intent(in) :: kpt(3)
real(kind=dp), intent(in) :: ef
real(kind=dp), intent(out) :: spn_k(3)

public subroutine spin_get_S(kpt, S)

Arguments

Type IntentOptional AttributesName
real(kind=dp), intent(in) :: kpt(3)
real(kind=dp), intent(out) :: S(num_wann,3)