Author Topic: Is the convergence considered for the denxity matrix or the charge density?  (Read 2527 times)

0 Members and 1 Guest are viewing this topic.

Offline xhsh

  • Heavy QuantumATK user
  • ***
  • Posts: 32
  • Reputation: 0
    • View Profile
In siesta, the convergence is considered for the density matrix. In ATK, is it considered for density matrix or the charge density at each point in the real space? Thanks a lot.

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
The hamiltonian. However the density matrix is always converged to same degree or better than the Hamiltonian when the Hamiltonian is converged.

Offline xhsh

  • Heavy QuantumATK user
  • ***
  • Posts: 32
  • Reputation: 0
    • View Profile
Thanks!

I want to further ask about the density matrix. For a two-probe system with different electrodes, how is the total charge calculated? By the formula Q=Tr(DS) (where D is the density matrix and S is the basis overlap matrix), just like in Siesta? Or just by integrating the electron density in the real space?

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Ahh, it is the older version?

Yes, the charge is calculated as the trace of the density matrix and the overlap.