mod_mixnocospin Module

See also mixbroydenspin of impurity code for reference to broyden spin mixing


Subroutines

public subroutine spinmix_noco(iter, natyp, theta, phi, fixdir, angles_new, totmoment, iounit)

Author
Philipp Ruessmann
License
Creative Commons License
Category
KKRhost

W r a p p e r

f o r

s p i n

m i g i n g

o f

n o n c o

a n g l e s

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: iter

iteration counter

integer, intent(in) :: natyp

number of atoms (array dimensions)

real(kind=dp), intent(in), dimension (natyp) :: theta

theta nonco angles in rad

real(kind=dp), intent(in), dimension (natyp) :: phi

phi nonco angles in rad

logical, intent(in), dimension(natyp) :: fixdir

booleans to fix nocon angles

real(kind=dp), intent(in) :: angles_new(2,natyp)

new directions of the nonco angles

real(kind=dp), intent(in) :: totmoment(natyp)

length of the magentization vectors

integer, intent(in) :: iounit

output unit where the nonco_angles output file is written

private subroutine spinmix_broyden(iter, natyp, angles_new, totmoment_atoms, iounit)

Author
Philipp Ruessmann
License
Creative Commons License
Category
KKRhost

D o

B r o y d e n

s p i n

m i x i n g

f o r

n o n c o l l i n e a r

m a g n e t i c

m o m e n t

d i r e c t i o n s

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: iter

iteration counter

integer, intent(in) :: natyp

number of atoms (array dimensions)

real(kind=dp), intent(in) :: angles_new(2,natyp)

new directions of the nonco angles

real(kind=dp), intent(in) :: totmoment_atoms(natyp)

length of the magentization vectors

integer, intent(in) :: iounit

output unit where the nonco_angles output file is written