atom.emat.in
Introduction
The purpose of the atom.emat.in file is to supply the on-site impurity energy level , which is in fact the CF + SOC. It is a diagonal matrix in the natural basis. Only when ibasis = 2, the atom.emat.in file is used. See ibasis for more details.
NOTE:
The so-called natural basis is the eigenstates of CF + SOC matrix.
Only the diagonal elements of are included in the atom.emat.in file.
Format
The format of the atom.emat.in file is as follows:
column 1: orbital index , integer
column 2: orbital index , integer
column 3: On-site impurity energy level , double precision
NOTE:
In the atom.emat.in file, we adopt the following orbital sequence:
, , , , , , ,
In other words, the spin up part is always before the spin down part.
Code
The corresponding Fortran code block for the reading of the atom.emat.in file is as follows:
! open file atom.emat.in
open(mytmp, file='atom.emat.in', form='formatted', status='unknown')
! read the data file
do i=1,norbs
read(mytmp,*) i1, i2, raux
! emat is actually real in natural basis
emat(i,i) = dcmplx(raux, zero)
enddo ! over i={1,norbs} loop
! close data file
close(mytmp)