Author Topic: How to calcaule the excess electrons in the center magnetic atom?  (Read 4027 times)

0 Members and 1 Guest are viewing this topic.

Offline guyue03

  • Regular QuantumATK user
  • **
  • Posts: 11
  • Country: cn
  • Reputation: 0
    • View Profile
Hi,
 
  Here is my problem. How can I calculate the excess electrons in the center magnetic Fe atom (NFe)and in 3d orbitals of the Fe atom(N3d)?

  By the way, I've got the total magnetic moment  by following the script:
# -------------------------------------------------------------
# Mulliken population
# -------------------------------------------------------------
mulliken_population = MullikenPopulation(bulk_configuration)
nlsave('magnetic_hs.nc', mulliken_population)
nlprint(mulliken_population)

# Majority and minority populations
popUp = mulliken_population.atoms(Spin.Up)
popDown = mulliken_population.atoms(Spin.Down)

# Magnetic moments
moments = popUp - popDown

print "Individual magnetic moments"
for i in range(len(moments)):
    print  i , moments

# Calculate total magnetic moment / unit cell.
mag_mom =  (popUp.sum() -  popDown.sum())

print
print "Total magnetic moment / unit cell"
print mag_mom
« Last Edit: December 3, 2018, 07:05 by guyue03 »

Offline Ulrik G. Vej-Hansen

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 426
  • Country: dk
  • Reputation: 9
    • View Profile
You can also use the MullikenPopulation for that - please see the manual page: https://docs.quantumwise.com/manual/Types/MullikenPopulation/MullikenPopulation.html

Offline guyue03

  • Regular QuantumATK user
  • **
  • Posts: 11
  • Country: cn
  • Reputation: 0
    • View Profile
Thank you! I've solved this problem.