scfiterang Subroutine

public subroutine scfiterang(itrscf, itoq, fact, mvphi, mvtet, mvgam, qmphi, qmtet, qmgam, nq, nk, erravang, nqmax, ntmax, nmvecmax, nkmmax)

Uses

Self-consistent mixing of the spin angle specifying the local frame of reference. As the self-consistent process evolves the local spin directions are varied and a new local frame of reference is found.

Arguments

Type IntentOptional Attributes Name
integer :: itrscf
integer :: itoq(ntmax,nqmax)
real(kind=dp) :: fact(0:100)
real(kind=dp) :: mvphi(ntmax,nmvecmax)
real(kind=dp) :: mvtet(ntmax,nmvecmax)
real(kind=dp) :: mvgam(ntmax,nmvecmax)
real(kind=dp) :: qmphi(nqmax)
real(kind=dp) :: qmtet(nqmax)
real(kind=dp) :: qmgam(nqmax)
integer :: nq
integer :: nk
real(kind=dp) :: erravang
integer :: nqmax
integer :: ntmax
integer :: nmvecmax
integer :: nkmmax